Пример #1
0
 protected virtual void OnEnable()
 {
     MMDepthOfFieldShakeEvent.Register(OnDepthOfFieldShakeEvent);
 }
Пример #2
0
 /// <summary>
 /// Starts listening for events
 /// </summary>
 public override void StartListening()
 {
     base.StartListening();
     MMDepthOfFieldShakeEvent.Register(OnDepthOfFieldShakeEvent);
 }