Question by
BusterGT · Jun 15, 2016 at 06:16 AM ·
scene-loading
How can you queue a sequence of multiple scenes...
Let's say you are making a Football Coach simulator, and you have a few phases. In the planning phase, you pick a few tasks. Then you say go. I want to show animations of you running the tasks, but then when random events pop up, say a conversation with a prospect's parents, I want to load the scene that will run that encounter, but then I want to return to executing the list of tasks you set out.
I could make a global singleton queue of scenes, and at the end of each scene, load the next one in the queue until they are done then load the event planning scene again, but is it possible to do something like:
{
SceneManager.LoadScene(x);
WaitForSceneToFinish();
SceneManager.LoadScene(y);
WaitForSceneToFinish();
PlanningEventBuilder.BuildAndRun();
}
Comment
Your answer
Follow this Question
Related Questions
Audio and Scene Load Troubles 0 Answers
Game is Glitched After Reloading the Next Day 0 Answers
obbdownloader relevance 0 Answers