static public int constructor(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         UnityEngine.Experimental.UIElements.TextField o;
         if (argc == 1)
         {
             o = new UnityEngine.Experimental.UIElements.TextField();
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (argc == 5)
         {
             System.Int32 a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             System.Boolean a3;
             checkType(l, 4, out a3);
             System.Char a4;
             checkType(l, 5, out a4);
             o = new UnityEngine.Experimental.UIElements.TextField(a1, a2, a3, a4);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         return(error(l, "New object failed."));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_isPasswordField(IntPtr l)
 {
     try {
         UnityEngine.Experimental.UIElements.TextField self = (UnityEngine.Experimental.UIElements.TextField)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.isPasswordField);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_multiline(IntPtr l)
 {
     try {
         UnityEngine.Experimental.UIElements.TextField self = (UnityEngine.Experimental.UIElements.TextField)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.multiline = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int OnStylesResolved(IntPtr l)
 {
     try {
         UnityEngine.Experimental.UIElements.TextField self = (UnityEngine.Experimental.UIElements.TextField)checkSelf(l);
         UnityEngine.Experimental.UIElements.StyleSheets.ICustomStyles a1;
         checkType(l, 2, out a1);
         self.OnStylesResolved(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 5
0
 public KeyboardTextEditor(TextField textField) : base(textField)
 {
 }