Class TMP_InputValidator
Custom text input validator where user can implement their own custom character validation.
Namespace: TMPro
Syntax
[Serializable]
public abstract class TMP_InputValidator : ScriptableObject
Methods
Validate(ref String, ref Int32, Char)
Declaration
public abstract char Validate(ref string text, ref int pos, char ch)
Parameters
Type | Name | Description |
---|---|---|
String | text | |
Int32 | pos | |
Char | ch |
Returns
Type | Description |
---|---|
Char |