Assets/Scripts/TowerDefense/UI/EndlessBossSkill/BossSkillBubbleBomb.cs
@@ -376,6 +376,8 @@ { BubbleBombConfig config = bubbleBombList[i]; if (config.Agent == null || config.obj == null) continue; // 泡泡炸弹已经触发了攻击,延时一会过后掉爱心 if (config.IsAttack) { @@ -420,7 +422,7 @@ } // 更新移动 if (config.Agent.CanMove) if (config.Agent != null && config.Agent.CanMove) { Vector3 pos = config.obj.transform.position; pos.z -= deltaTime * config.MoveSpeed; @@ -432,11 +434,6 @@ config.IsAttack = true; config.AttackTime = 0.65f; } } else { // cx test Debug.LogError("---- 泡泡炸弹不能移动??? ----"); } } }