/// <summary>
 /// Simulates the user entering text key by key into the input field.
 /// </summary>
 /// <param name="inputField">The input field text is being entered into.</param>
 /// <param name="text">The text being entered.</param>
 private void SimulateKeyboardInputFieldEntry(TMP_InputField inputField, string text)
 {
     foreach (char ch in text.ToCharArray())
     {
         inputField.ProcessEvent(Event.KeyboardEvent(ch.ToString()));
     }
 }