Table of Contents

Class CurvedUITMPInputFieldCaret

Namespace
CurvedUI
Assembly
Assembly-CSharp.dll
[ExecuteInEditMode]
public class CurvedUITMPInputFieldCaret : MonoBehaviour, ISelectHandler, IDeselectHandler, IEventSystemHandler
Inheritance
CurvedUITMPInputFieldCaret
Implements
ISelectHandler
IDeselectHandler
IEventSystemHandler
Inherited Members
Extension Methods

Constructors

CurvedUITMPInputFieldCaret()

public CurvedUITMPInputFieldCaret()

Fields

myCaret

public RectTransform myCaret

Field Value

RectTransform

myField

public TMP_InputField myField

Field Value

TMP_InputField

origCaretColor

public Color origCaretColor

Field Value

Color

origSelectionColor

public Color origSelectionColor

Field Value

Color

selected

public bool selected

Field Value

bool

selectingText

public bool selectingText

Field Value

bool

Properties

CaretBlinkRate

public float CaretBlinkRate { get; set; }

Property Value

float

CaretColor

public Color CaretColor { get; set; }

Property Value

Color

SelectionColor

public Color SelectionColor { get; set; }

Property Value

Color

Methods

Awake()

public void Awake()

CaretBlinker()

public IEnumerator CaretBlinker()

Returns

IEnumerator

CheckAndConvertMask()

public void CheckAndConvertMask()

CreateCaret()

public void CreateCaret()

GetLocalPositionInText(int)

public Vector2 GetLocalPositionInText(int charNo)

Parameters

charNo int

Returns

Vector2

OnDeselect(BaseEventData)

public void OnDeselect(BaseEventData eventData)

Parameters

eventData BaseEventData

OnSelect(BaseEventData)

public void OnSelect(BaseEventData eventData)

Parameters

eventData BaseEventData

Update()

public void Update()

UpdateCaret()

public void UpdateCaret()