void Awake() { DontDestroyOnLoad(this); if (instance == null) { instance = this; } else { Destroy(gameObject); } }
/// <summary> /// Fires the audio start event /// </summary> private void FireAudioStart() { AudioStart?.Invoke(this, new GameAudioEventArgs()); }