add : flash transitions between scenes

This commit is contained in:
2026-07-20 18:46:56 +02:00
parent 50f65e99a7
commit a0cfb31079
14 changed files with 347 additions and 150 deletions
@@ -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