예제 #1
0
 /// <summary>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`.</summary>
 /// <returns>The next character in this frame's list, or '\0' if none
 /// remain.</returns>
 public static char TextConsume()
 => (char)NativeAPI.input_text_consume();