Exemple #1
0
 private void OnReturnToMenu(ReturnToMenuEvent e)
 {
     PoolManager.Instance.ReleaseObject(Env.ENEMY_PATH, this.gameObject);
 }
Exemple #2
0
 /// <summary>
 /// Called to go back to main menu.
 /// </summary>
 public void Handle(ReturnToMenuEvent message)
 {
     ActivateItem(_menuVM);
 }
Exemple #3
0
 private void OnReturnToMenu(ReturnToMenuEvent e)
 {
     PoolManager.Instance.ReleaseObject(this.bulletPath, this.gameObject);
 }