// Use this for initialization void Start() { SetStatus(GetComponent <RoomManager>()); //StartCoroutine(CheckEnd()); _Curse = FindObjectOfType <CurseManager>(); _Clock = FindObjectOfType <Clock>(); //StartCoroutine(MobSpawn()); TitleUI = new GameObject[2]; FX = GameManager.Instance.SoundManager; }
void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } }
public new void Awake() { base.Awake(); Curse = FindObjectOfType <CurseManager>(); }
private void Awake() { instance = this; }