Example #1
0
 private void OnEnable()
 {
     if (isGlobal)
     {
         LoadingManager manager = FindObjectOfType <LoadingManager>();
         manager.AddToList(this);
         StartCoroutine(manager.RecalculateLoadedScenes());
     }
 }