コード例 #1
0
        protected override void OnEnd()
        {
            base.OnEnd();

            ShellCreated = null;

            if (ShellShieldUI != null)
            {
                User.BManager.battleUIManager.RemoveUIElement(ShellShieldUI);
                ShellShieldUI = null;
            }
        }
コード例 #2
0
        protected override void OnStart()
        {
            base.OnStart();

            ShellCreated = null;

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                ShellShieldUI = new ShellShieldActionCommandUI(actionCommand as ShellShieldCommand);
                User.BManager.battleUIManager.AddUIElement(ShellShieldUI);
            }
        }