- Home /
Load Scene X while running Scene X
I know it sounds weird, but I want to know if there are any problems related to that (loading one scene during the same scene). I did it and it works... I just want to be sure that this is not going to give me troubles ahead.
Answer by CHPedersen · Nov 25, 2011 at 09:05 PM
Doing so is perfectly fine. In fact, it's a technique other people use to reload save points if the player character dies, because loading a scene acts like restarting a level.
Beware that static variables aren't reset. This is useful for retaining values like the total score, but can be confusing if people store level-dependent data in static vars.
Your answer
Follow this Question
Related Questions
Start menu gui wont load scene 2 Answers
Loading Sene problem 2 Answers
Load different Scene on first load 4 Answers
Light gets darker after loading another scene 2 Answers
New scene for minigame or not? 1 Answer