예제 #1
0
        protected override void OnEnd()
        {
            base.OnEnd();

            if (MiniEggUI != null)
            {
                User.BManager.battleUIManager.RemoveUIElement(MiniEggUI);
                MiniEggUI = null;
            }
        }
예제 #2
0
        protected override void OnStart()
        {
            EggDamage = GetTotalDamage(1);

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                MiniEggUI = new TimedLightActionCommandUI(actionCommand as TimedLightCommand);
                User.BManager.battleUIManager.AddUIElement(MiniEggUI);
            }
        }