LoadingBar.fillAmount = (currentAmount / 100);
Debug.Log(LoadingBar.fillAmount);
Log gives correct value but LoadingBar UI Element is not updating. IDK what’s the problem, is it a bug?
Unity 20181.0.f2
LoadingBar.fillAmount = (currentAmount / 100);
Debug.Log(LoadingBar.fillAmount);
Log gives correct value but LoadingBar UI Element is not updating. IDK what’s the problem, is it a bug?
Unity 20181.0.f2
Solved it by disabling animator before running codes. it seems like animation is keeping the fillamount from updating.