protected virtual void OnDestroys() { if (this.mBomberman != null) { this.mBomberman.DeInit(); this.mBomberman = null; } }
public void Start() { this.RegisterJoyEvent(); if (GameLogic.Hold.BattleData.Challenge_BombermanEnable()) { this.mBomberman = new AttackCtrl_Bomberman(); this.mBomberman.Init(this.m_EntityHero); } this.OnStart(); }