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