private void OnDestroy() { AudioPlayCompleted.RemoveAllListeners(); AudioPlayCompleted = null; }
/// <summary> /// Awakes this instance. /// </summary> private void Awake() { AudioPlayCompleted = new AudioSourcePlayeCompleteEvent(); }