Пример #1
0
        protected override void OnEnd()
        {
            base.OnEnd();

            if (BombSquadUI != null)
            {
                User.BManager.battleUIManager.RemoveUIElement(BombSquadUI);
                BombSquadUI = null;
            }
        }
Пример #2
0
        protected override void OnStart()
        {
            base.OnStart();

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                BombSquadUI = new BombSquadActionCommandUI(actionCommand as BombSquadCommand);
                User.BManager.battleUIManager.AddUIElement(BombSquadUI);
            }
        }