protected virtual void OnEnable()
 {
     MMCameraShakeEvent.Register(OnCameraShakeEvent);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// On enable, we start listening to events
 /// </summary>
 protected virtual void OnEnable()
 {
     this.MMEventStartListening <CorgiEngineEvent> ();
     this.MMEventStartListening <MMCameraEvent>();
     MMCameraShakeEvent.Register(OnCameraShakeEvent);
 }