private void LoadFromStack(object data) { SceneSwitcher lastSceneSwitcher = SavedSceneSwitchers.Pop(); lastSceneSwitcher.SetSceneObjectsState(true); lastSceneSwitcher.CallOnSceneResumedHandlers(); lastSceneSwitcher.OnSceneResult.Invoke(data); }
private void LoadFromStack(object data) { SceneSwitcher lastSceneSwitcher = SavedSceneSwitchers.Pop(); lastSceneSwitcher.SetSceneObjectsState(true); lastSceneSwitcher.CallOnSceneResumedHandlers(); lastSceneSwitcher.OnSceneResult.Invoke(data); }