Пример #1
0
 void Start()
 {
     if (endingManager.Emanager == null)
     {
         endingManager.Emanager = this;
     }
     else
     {
         Destroy(gameObject);
     }
     One.gameObject.SetActive(true);
     SceneOne.SetActive(true);
     SceneTwo.SetActive(false);
     Two.gameObject.SetActive(false);
 }
Пример #2
0
 private void Awake()
 {
     self = this;
     endingCutscene.gameObject.SetActive(false);
 }