zhengchen hai 1 ano
pai
achega
27421ec7ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
             }
-
+            Debug.Log(1);
             var backgroundSize = _backgroundImage.rectTransform.sizeDelta;
             var foregroundSize = _foregroundImage.rectTransform.sizeDelta;
             var newForegroundWidth = backgroundSize.x * hpPercent;