You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
387 B

  1. using UnityEngine;
  2. using System.Collections;
  3. namespace TMPro
  4. {
  5. /// <summary>
  6. /// Custom text input validator where user can implement their own custom character validation.
  7. /// </summary>
  8. [System.Serializable]
  9. public abstract class TMP_InputValidator : ScriptableObject
  10. {
  11. public abstract char Validate(ref string text, ref int pos, char ch);
  12. }
  13. }