add : flash transitions between scenes
This commit is contained in:
@@ -110,6 +110,9 @@ namespace OctoCore.Navigation
|
||||
return;
|
||||
}
|
||||
|
||||
if (OctoCore.Instance.Development.Log)
|
||||
Debug.LogError($"[OctoNavigation] LoadScene({sceneData.name}) called at t={Time.time:F2}\n{StackTraceUtility.ExtractStackTrace()}");
|
||||
|
||||
_loadingCoroutine = OctoCore.Instance.StartCoroutine(LoadSceneCoroutine(sceneData));
|
||||
}
|
||||
|
||||
@@ -124,6 +127,9 @@ namespace OctoCore.Navigation
|
||||
return;
|
||||
}
|
||||
|
||||
if (OctoCore.Instance.Development.Log)
|
||||
Debug.LogError($"[OctoNavigation] Teleport({teleporter.name}) called at t={Time.time:F2}\n{StackTraceUtility.ExtractStackTrace()}");
|
||||
|
||||
OnTeleportStarted?.Invoke(null, teleporter);
|
||||
|
||||
// Same scene teleport
|
||||
|
||||
Reference in New Issue
Block a user