Class TMP_InputValidator
Custom text input validator where user can implement their own custom character validation.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
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 |