if(Input.GetKeyDown(KeyCode.Period))
{
inTypingMode = true;
}
while(inTypingMode)
{
Debug.Log("Currently Typing");
if(Input.GetKeyDown(KeyCode.Comma))
{
inTypingMode = false;
}
else
{
if (Input.anyKeyDown)
{
Debug.Log("Typing Crap");
}
}
}
was trying to make a typing guessing game and this somehow crash the project, why? since you can exit the while with comma why does it crash?