protected virtual void OnEnable()
 {
     MMCameraShakeEvent.Register(OnCameraShakeEvent);
 }
Esempio 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);
 }