Exemple #1
0
    static int DrawBounds(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        Bounds arg0 = LuaScriptMgr.GetNetObject <Bounds>(L, 1);

        NGUIDebug.DrawBounds(arg0);
        return(0);
    }
Exemple #2
0
 static public int DrawBounds_s(IntPtr l)
 {
     try {
         UnityEngine.Bounds a1;
         checkValueType(l, 1, out a1);
         NGUIDebug.DrawBounds(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #3
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     NGUIDebug.DrawBounds(*(*(IntPtr *)args));
     return(-1L);
 }