Beispiel #1
0
 protected override void OnGUI()
 {
     if (mPasswordMode)
     {
         Content.Value = CrossPlatformGUILayout.PasswordField(Content.Value, Style.Value, LayoutStyles);
     }
     else
     {
         Content.Value = CrossPlatformGUILayout.TextField(Content.Value, Style.Value, LayoutStyles);
     }
 }
Beispiel #2
0
 protected override void OnGUI()
 {
     Content.Value = CrossPlatformGUILayout.TextArea(Content.Value, mStyleProperty.Value, LayoutStyles);
 }
Beispiel #3
0
 protected override void OnGUI()
 {
     Content.Value = CrossPlatformGUILayout.TextArea(Content.Value, GUI.skin.textArea, LayoutStyles);
 }