I try to make a bar with loop in IEnumerator. This works fine on my pc, but when i build apk and run it at my phone loop is working more slowly than my pc. What should i do? (i tried while and for loop, all of them gave same result)
while (valueCurrent < currentValue)
{
valueCurrent = valueCurrent + 1;
ValueText.text = valueCurrent.ToString();
}
yield return null;
}