using UnityEngine;
using System.Collections;
namespace TMPro
{
///
/// Custom text input validator where user can implement their own custom character validation.
///
[System.Serializable]
public abstract class TMP_InputValidator : ScriptableObject
{
///
/// Customs text input validation function.
///
/// The original text
/// The position in the string to add the caharcter
/// The character to add
/// The character added
public abstract char Validate(ref string text, ref int pos, char ch);
}
}