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
public CurvedUITMPInputFieldCaret()
Fields
public RectTransform myCaret
Field Value
- RectTransform
public TMP_InputField myField
Field Value
- TMP_InputField
public Color origCaretColor
Field Value
- Color
public Color origSelectionColor
Field Value
- Color
Field Value
- bool
selectingText
public bool selectingText
Field Value
- bool
Properties
public float CaretBlinkRate { get; set; }
Property Value
- float
public Color CaretColor { get; set; }
Property Value
- Color
public Color SelectionColor { get; set; }
Property Value
- Color
Methods
public IEnumerator CaretBlinker()
Returns
- IEnumerator
public void CheckAndConvertMask()
public void CreateCaret()
GetLocalPositionInText(int)
public Vector2 GetLocalPositionInText(int charNo)
Parameters
charNo
int
Returns
- Vector2
public void OnDeselect(BaseEventData eventData)
Parameters
eventData
BaseEventData
public void OnSelect(BaseEventData eventData)
Parameters
eventData
BaseEventData
public void UpdateCaret()