public static void LoadScene(Scenes scene) { var levelLoader = Instance.GetComponentInChildren <LevelLoader>(); levelLoader.StartTransition(); Instance.StartCoroutine(LoadSceneAfter(scene, levelLoader.transitionDuration)); }