예제 #1
0
 protected virtual void OnDisable()
 {
     MMVignetteShakeEvent.Unregister(OnVignetteShakeEvent);
 }
예제 #2
0
 /// <summary>
 /// Stops listening for events
 /// </summary>
 public override void StopListening()
 {
     base.StopListening();
     MMVignetteShakeEvent.Unregister(OnVignetteShakeEvent);
 }
예제 #3
0
 protected virtual void OnEnable()
 {
     MMVignetteShakeEvent.Register(OnVignetteShakeEvent);
 }