Пример #1
0
 void OnDestroy()
 {
     GlobalEventQueue.RemoveListener(E_Event.GunChange, ListenGunChange);
     GlobalEventQueue.RemoveListener(E_Event.Fire, ListenFire);
     GlobalEventQueue.RemoveListener(VK_State.Up, ListenFireStop);
 }
Пример #2
0
 private void OnDestroy()
 {
     GlobalEventQueue.RemoveListener(DefaultEvent.PathObstacleMove, ListenMoveObstacle);
 }
Пример #3
0
 void OnDistroy()
 {
     GlobalEventQueue.RemoveListener(VK_State.Down, ListenFireEvent);
     GlobalEventQueue.RemoveListener(VK_State.Press, ListenFireEvent);
 }