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

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

            EntityUsing  = User;
            AllyAffected = EntitiesAffected[0];

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                VeilUI = new MultiButtonActionCommandUI(actionCommand as MultiButtonCommand);
                User.BManager.battleUIManager.AddUIElement(VeilUI);
            }
        }