From e36f2a3ac098d6e89d3882f3354ec69c07e71e16 Mon Sep 17 00:00:00 2001 From: chenxin <chenxin6991@163.com> Date: Tue, 01 Dec 2020 15:55:40 +0800 Subject: [PATCH] 代码结构修改 --- Assets/Scripts/TowerDefense/UI/HUD/GameUI.cs | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/TowerDefense/UI/HUD/GameUI.cs b/Assets/Scripts/TowerDefense/UI/HUD/GameUI.cs index 628e0c9..9ddc03f 100644 --- a/Assets/Scripts/TowerDefense/UI/HUD/GameUI.cs +++ b/Assets/Scripts/TowerDefense/UI/HUD/GameUI.cs @@ -1658,7 +1658,7 @@ /// <param name="x"></param> /// <param name="y"></param> /// <param name="val"></param> - public void generateBloodText(Vector3 wpos, float val, bool crit = false, bool doubleHit = false, bool poison = false) + public void generateBloodText(Vector3 wpos, float val, bool crit = false, bool poison = false) { if (Mathf.FloorToInt(val) == 0) return; @@ -1680,8 +1680,6 @@ { tm.GetComponent<Transform>().SetParent(GameObject.Find("BattleMainUI").GetComponent<Transform>(), true); string bloodStr = ""; - if (doubleHit) - bloodStr += "Dble!"; if (crit) bloodStr += "Crt!"; bloodStr += "-"; -- Gitblit v1.9.1