Tanoda
IInputField.cs
Go to the documentation of this file.
1using UnityEngine;
2using UnityEngine.UI;
3
4namespace WebGLSupport
5{
6 public enum ContentType
7 {
8 Standard = 0,
10 IntegerNumber = 2,
11 DecimalNumber = 3,
12 Alphanumeric = 4,
13 Name = 5,
14 EmailAddress = 6,
15 Password = 7,
16 Pin = 8,
17 Custom = 9
18 }
19 public enum LineType
20 {
21 SingleLine = 0,
24 }
25 public interface IInputField
26 {
29 int fontSize { get; }
30 string text { get; set; }
31 string placeholder { get; }
32 int characterLimit { get; }
33 int caretPosition { get; }
34 bool isFocused { get; }
35 int selectionFocusPosition { get; set; }
36 int selectionAnchorPosition { get; set; }
37 bool ReadOnly { get; }
38 bool OnFocusSelectAll { get; }
39
43 void Rebuild();
44 }
45}
RectTransform RectTransform()