Class CurvedUIInputFieldCaret
- Namespace
- CurvedUI
- Assembly
- Assembly-CSharp.dll
public class CurvedUIInputFieldCaret : MonoBehaviour, ISelectHandler, IDeselectHandler, IEventSystemHandler
- Inheritance
-
CurvedUIInputFieldCaret
- Implements
-
ISelectHandler
IDeselectHandler
IEventSystemHandler
- Inherited Members
-
- Extension Methods
-
Constructors
public CurvedUIInputFieldCaret()
Fields
Field Value
- int
public RectTransform myCaret
Field Value
- RectTransform
public InputField myField
Field Value
- 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 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()