void Awake() { // singleton setup - don't destroy this when loading if(instance == null) { instance = this; DontDestroyOnLoad(this.gameObject); // Subscribes to all events LinkToEvents(); } else { GameObject.Destroy(this.gameObject); } }