mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 15:27:59 +01:00
15 lines
387 B
C#
15 lines
387 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
|
|
namespace TMPro
|
|
{
|
|
/// <summary>
|
|
/// Custom text input validator where user can implement their own custom character validation.
|
|
/// </summary>
|
|
[System.Serializable]
|
|
public abstract class TMP_InputValidator : ScriptableObject
|
|
{
|
|
public abstract char Validate(ref string text, ref int pos, char ch);
|
|
}
|
|
}
|