IInputField.cs 956 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using UnityEngine;
  6. using UnityEngine.Events;
  7. using UnityEngine.EventSystems;
  8. using UnityEngine.Serialization;
  9. using UnityEngine.UI;
  10. namespace CommonUnity3D.UGUI
  11. {
  12. public interface IInputField : IInteractiveComponent
  13. {
  14. string Text { get; set; }
  15. InputField.InputType inputType { get; set; }
  16. InputField.ContentType contentType { get; set; }
  17. InputField.LineType lineType { get; set; }
  18. InputField.CharacterValidation characterValidation { get; set; }
  19. TouchScreenKeyboardType keyboardType { get; set; }
  20. int characterLimit { get; set; }
  21. char asteriskChar { get; set; }
  22. float caretBlinkRate { get; set; }
  23. bool isFocused { get; }
  24. bool multiLine { get; }
  25. Action<string> event_EndEdit { get; set; }
  26. Action<string> event_ValueChanged { get; set; }
  27. }
  28. }