/// <summary> /// Initialization method. Initializes static reference, gets if sound effects are enabled. /// </summary> void Awake() { instance = this; sfxEnabled = AudioManager.instance.sfxEnabled; }