public async UniTask GoToNextSceneWithCustomTransition(ISceneContext nextSceneContext) { await LoadSceneWithFade(nextSceneContext, nextSceneContext.SceneName(), true); }
public async UniTask GoToNextSceneWithCustomTransition(ISceneContext nextSceneContext) { AltoLog.FW($"[SceneDirector] Load scene with scene context : <b>{nextSceneContext}</b>"); await LoadSceneWithFade(nextSceneContext, nextSceneContext.SceneName(), true); }
public async UniTask GoToNextScene(ISceneContext nextSceneContext, float fadeOutTime = 0.3f, float fadeInTime = 0.3f) { await LoadSceneWithFade(nextSceneContext, nextSceneContext.SceneName(), false, fadeOutTime, fadeInTime); }
public async UniTask GoToNextScene(ISceneContext nextSceneContext, float fadeOutTime = 0.3f, float fadeInTime = 0.3f) { AltoLog.FW($"[SceneDirector] Load scene with scene context : <b>{nextSceneContext}</b>"); await LoadSceneWithFade(nextSceneContext, nextSceneContext.SceneName(), false, fadeOutTime, fadeInTime); }