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