zhengchen 1 gadu atpakaļ
vecāks
revīzija
27421ec7ac
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;