Assets/Scripts/TowerDefense/Agents/Agent.cs | ●●●●● patch | view | raw | blame | history | |
Assets/Scripts/UI/AgentBlood.cs | ●●●●● patch | view | raw | blame | history |
Assets/Scripts/TowerDefense/Agents/Agent.cs
@@ -658,7 +658,8 @@ ps?.Play(); } BloodBar.Hide(); if (BloodBar) Destroy(BloodBar.gameObject); // 统一管理器内删除当前的Agent: AgentInsManager.instance.removeAgent(this); if (EnemyData != null) Assets/Scripts/UI/AgentBlood.cs
@@ -92,7 +92,9 @@ { if (tween != null) tween.Kill(); Hide(); if (gameObject != null) Destroy(gameObject); } public void OnHealthChanged(HealthChangeInfo info)