- Home /
Question by
ManaAura · Aug 24, 2017 at 02:38 PM ·
scenescene-loadingscene-switchingasynchronousscene change
SceneManager onActiveSceneChange Pause for a while before loading a new scene
Is there a way to 'KEEP' using the onActivteSceneChange delegate, while I do an asyncoperation before loading the new scene?
I would want something like this:
public void Start()
{
SceneManager.activeSceneChanged += TestSync();
}
public void TestSync(Scene prevScene, Scene curScene)
{
//Right Before curScene gets unloaded
// > wait 3 sec
// > then unload the curScene
}
thanks in advance,
Comment
Your answer
Follow this Question
Related Questions
,Enums not being passed between scripts properly 1 Answer
SceneManager.LoadScene not working with button 1 Answer
How Do I Link Different Scenes? 4 Answers
Canvas gets invisble after changing scene 1 Answer
Help with error message "Overwriting the same path as another open scene is not allowed" 0 Answers