15 public bool ReadOnly {
get {
return input.readOnly; } }
19 get {
return input.text; }
20 set { input.text = value; }
27 if (!input.placeholder)
return "";
28 var
text = input.placeholder.GetComponent<Text>();
35 get {
return input.textComponent.fontSize; }
45 get {
return (
LineType)input.lineType; }
50 get {
return input.characterLimit; }
55 get {
return input.caretPosition; }
60 get {
return input.isFocused; }
65 get {
return input.selectionFocusPosition; }
66 set { input.selectionFocusPosition = value; }
71 get {
return input.selectionAnchorPosition; }
72 set { input.selectionAnchorPosition = value; }
93 input.ActivateInputField();
98 input.DeactivateInputField();
105 input.textComponent.SetAllDirty();
106 input.Rebuild(CanvasUpdate.LatePreRender);
bool NeedRebuild(bool debug=false)