Define "root" #34
KieranCarden
started this conversation in
Ideas
Replies: 1 comment
-
Hello, Good idea, this is actually quite possible. Some functions need some small changes and it works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure how feasible this would be, or if it would be worth exploring, but as of right now when changing levels/scenes it replaces at the root level, so everything has to exist within the scene that's being replaced (player, etc).
I'm looking to build a sort of "base" at the root that holds everything else in separated sections:
![image](https://private-user-images.githubusercontent.com/4044137/361263851-74e04bb3-4319-4a61-ae74-cdc1da2efe6f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzk2NzMsIm5iZiI6MTczOTMzOTM3MywicGF0aCI6Ii80MDQ0MTM3LzM2MTI2Mzg1MS03NGUwNGJiMy00MzE5LTRhNjEtYWU3NC1jZGMxZGEyZWZlNmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDU0OTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjhjMGY0YzMxYzYxZDg5MmNjNzBmMDk5ZmFmYzBjZDg0Y2RjN2UzNDMxOThkNGYzOWM4OWQzYWQ1NzIzOGVhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.2m3uAV1C7txaZPGXd4r4Puyoj3SmPpRHWcEgweHmWWY)
Right now transitioning from "Start" to a level will replace all of "BaseGame". My curiosity is wondering if it would be worthwhile to allow being able to define the top level that SceneManager would then use as the "root", or if not defined continue functioning as-is. In my case it would be "LevelBase" and everything under that would get replaced where I could then retain everything outside of it.
Beta Was this translation helpful? Give feedback.
All reactions