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