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