/// <summary> /// Stops listening for events /// </summary> public override void StopListening() { base.StopListening(); MMVignetteShakeEvent.Unregister(OnVignetteShakeEvent); }
protected virtual void OnDisable() { MMVignetteShakeEvent.Unregister(OnVignetteShakeEvent); }