Browse Source

测试提交

zhengchen 1 year ago
parent
commit
27421ec7ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Assets/Scripts/Comp/CockHpComp.cs

+ 1 - 1
Assets/Scripts/Comp/CockHpComp.cs

@@ -38,7 +38,7 @@ namespace Comp
             {
             {
                 _foregroundImage.color = Color.red;
                 _foregroundImage.color = Color.red;
             }
             }
-
+            Debug.Log(1);
             var backgroundSize = _backgroundImage.rectTransform.sizeDelta;
             var backgroundSize = _backgroundImage.rectTransform.sizeDelta;
             var foregroundSize = _foregroundImage.rectTransform.sizeDelta;
             var foregroundSize = _foregroundImage.rectTransform.sizeDelta;
             var newForegroundWidth = backgroundSize.x * hpPercent;
             var newForegroundWidth = backgroundSize.x * hpPercent;