Hello, ihave no idea why this loop is performed only once. please help, many thanks
if (sc.wykorzystana == false)
{
secondcha.SetActive(true);
for (float timer = 5; timer >= 0; timer -= Time.deltaTime)
{
if (sc.szansa ==1)
{
yield break;
}
Debug.Log(timer);
yield return null;
}
pleas help me, many thanks.