Scripting API

TMP_InputValidator

class in TMPro · Unity.TextMeshPro · inherits from ScriptableObject

2 of 2 of Unity's members
In Tassix

Custom validation for TMP_InputField: returns the character to insert (0 rejects it).

Methods 1

abstract char Validate(ref string text, ref int pos, char ch)