@@ -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;