wangguan
2020-12-10 d620049de0afa38688b7178d54b65e62ad2a61f0
Assets/Scripts/TowerDefense/UI/EndlessBossSkill/EndlessBossSkillManager.cs
@@ -1,4 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Core.Utilities;
@@ -69,7 +68,7 @@
        // Update is called once per frame
        private void Update()
        {
            if (isPaused || EndlessGameUI.instance.state == EndlessGameUI.State.GameOver) return;
            if (isPaused || EndlessGameUI.instance.state == EndlessGameUI.State.GameOver || !EndlessUIStart.instance.IsGameRunning) return;
            for (int i = 0; i < skillList.Count; ++i)
            {
@@ -264,6 +263,8 @@
                    return new BossSkillBubbleBomb(data);
                case EndlessBossSkillType.WoodPile:
                    return new BossSkillWoodPile(data);
                case EndlessBossSkillType.BondageBubble:
                    return new BossSkillBondageBubble(data);
            }
            return null;