Пример #1
0
 private static void Internal_ActiveSceneChanged(Scene previousActiveScene, Scene newActiveScene)
 {
     if (SceneManager.activeSceneChanged != null)
     {
         SceneManager.activeSceneChanged(previousActiveScene, newActiveScene);
     }
 }
Пример #2
0
        private static void Internal_ActiveSceneChanged(Scene previousActiveScene, Scene newActiveScene)
        {
            bool flag = SceneManager.activeSceneChanged != null;

            if (flag)
            {
                SceneManager.activeSceneChanged(previousActiveScene, newActiveScene);
            }
        }