We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 389bdfc commit f12239cCopy full SHA for f12239c
CustomLevels/Extensions/LevelManagerExtension.cs
@@ -68,7 +68,10 @@ public static IEnumerator HandleGameModeLevelLoad(
68
}
69
else if (Director.gameMode.ToString() == "3")
70
{
71
- CoroutineUtils.RunCoroutine(LevelManager.LoadLevel(levelIndex));
+ Director.instance.CloseLevel();
72
+ yield return new WaitWhile(() => LevelAnimation.isLevelLoading);
73
+ yield return new WaitForSecondsRealtime(0.1f);
74
+ Director.instance?.Init();
75
Debug.Log("Load Finished screen here ??? Load something here to say you've completed it.. for now just reload level..");
76
77
0 commit comments