private void FixedUpdate() { mana.Update(); Rect uvRect = barRawImage.uvRect; uvRect.x += .1f * Time.fixedDeltaTime; barRawImage.uvRect = uvRect; imageMana.fillAmount = mana.GetNormalized(); }