Example #1
0
 private void Awake()
 {
     _instance = this as Level;
 }
Example #2
0
 public static IEnumerator LoadLevel(string sceneName)
 {
     Application.LoadLevelAdditive(sceneName);
     yield return 0;
     _level = GameObject.FindObjectOfType<Level>();
 }