Class TMP_InputValidator
Custom text input validator where user can implement their own custom character validation.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[Serializable]
public abstract class TMP_InputValidator : ScriptableObject
Methods
Validate(ref string, ref int, char)
Declaration
public abstract char Validate(ref string text, ref int pos, char ch)
Parameters
Type | Name | Description |
---|---|---|
string | text | |
int | pos | |
char | ch |
Returns
Type | Description |
---|---|
char |