The foreach (var item in the users)
{
If (userName. Text==item. The userName & amp; & PassWord. The text==item. PassWord)
{
SceneManager. LoadScene (1);
The Debug Log (" performed if ");
break;
}
The else
{
The Debug Log (" performed the else ");
The text. The SetActive (true);
Invoke (" DisableText ", 1.5 f);
}
}
Why the if and the else will perform at the same time? Teach beginners look really don't know much about, bosses