Input.TextConsume

static Char TextConsume()

   
RETURNS: Char The next character in this frame’s list, or ‘\0’ if none remain.

Returns the next text character from the list of characters that have been entered this frame! Will return ‘\0’ if there are no more characters left in the list. These are from the system’s text entry system, and so can be unicode, will repeat if their ‘key’ is held down, and could arrive from something like a copy/paste operation.

If you wish to reset this function to begin at the start of the read list on the next call, you can call Input.TextReset.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!