Hi
I’m try to skip WaitForSecond by press any keys. and skip.
I’m search for it on Google. But it Java Script and it not work.
I decide to ask. If anyone know.
Something like this?
public IEnumerator TypingMessage(string message)
{
foreach (char letter in message.ToCharArray())
{
TypingUI.text += letter;
if (Input.anyKey)
{
continue;
}
else
{
yield return new WaitForSeconds (typingspeed);
}
}
yield break;
}
//https://twitter.com/S0me_One_Else/status/981073875248103426