using UnityEngine.UI; using System; namespace UIWidgets { /// /// IInputFieldProxy. /// public interface IInputFieldProxy { /// /// The current value of the input field. /// /// The text. string text { get; set; } #if UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2 #else [Obsolete("Use onValueChanged()")] #endif /// /// Accessor to the OnChangeEvent. /// /// The OnValueChange. InputField.OnChangeEvent onValueChange { get; set; } /// /// Accessor to the OnChangeEvent. /// /// The OnValueChange. InputField.OnChangeEvent onValueChanged { get; set; } /// /// The Unity Event to call when editing has ended. /// /// The OnEndEdit. InputField.SubmitEvent onEndEdit { get; set; } /// /// Current InputField caret position (also selection tail). /// /// The caret position. int caretPosition { get; set; } /// /// Is the InputField eligable for interaction (excludes canvas groups). /// /// true if interactable; otherwise, false. bool interactable { get; set; } } }