static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.UILineInfo o;
         o = new UnityEngine.UILineInfo();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
Exemple #2
0
 static public int set_height(IntPtr l)
 {
     UnityEngine.UILineInfo o = (UnityEngine.UILineInfo)checkSelf(l);
     System.Int32           v;
     checkType(l, 2, out v);
     o.height = v;
     setBack(l, o);
     return(0);
 }
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.UILineInfo o;
         o = new UnityEngine.UILineInfo();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.UILineInfo o;
         o=new UnityEngine.UILineInfo();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
Exemple #5
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.UILineInfo o;
         o = new UnityEngine.UILineInfo();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.UILineInfo o;
         o=new UnityEngine.UILineInfo();
         pushValue(l,true);
         pushValue(l,o);
         return 2;
     }
     catch(Exception e) {
         return error(l,e);
     }
 }
 static void UILineInfo_height(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.UILineInfo _this = (UnityEngine.UILineInfo)vc.csObj;
         var result = _this.height;
         JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
     }
     else
     {
         System.Int32           arg0  = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
         UnityEngine.UILineInfo _this = (UnityEngine.UILineInfo)vc.csObj;
         _this.height = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void UILineInfo_topY(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.UILineInfo _this = (UnityEngine.UILineInfo)vc.csObj;
         var result = _this.topY;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single          arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.UILineInfo _this = (UnityEngine.UILineInfo)vc.csObj;
         _this.topY = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemple #9
0
 static public int get_height(IntPtr l)
 {
     UnityEngine.UILineInfo o = (UnityEngine.UILineInfo)checkSelf(l);
     pushValue(l, o.height);
     return(1);
 }
Exemple #10
0
 static public int get_startCharIdx(IntPtr l)
 {
     UnityEngine.UILineInfo o = (UnityEngine.UILineInfo)checkSelf(l);
     pushValue(l, o.startCharIdx);
     return(1);
 }