protected override void OnEnd() { base.OnEnd(); if (BombSquadUI != null) { User.BManager.battleUIManager.RemoveUIElement(BombSquadUI); BombSquadUI = null; } }
protected override void OnStart() { base.OnStart(); if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true) { BombSquadUI = new BombSquadActionCommandUI(actionCommand as BombSquadCommand); User.BManager.battleUIManager.AddUIElement(BombSquadUI); } }