GetAllTouch() public method

public GetAllTouch ( int result ) : int[]
result int
return int[]
Beispiel #1
0
 static public int GetAllTouch(IntPtr l)
 {
     try {
         FairyGUI.Stage self = (FairyGUI.Stage)checkSelf(l);
         System.Int32[] a1;
         checkArray(l, 2, out a1);
         var ret = self.GetAllTouch(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int GetAllTouch(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.Stage obj  = (FairyGUI.Stage)ToLua.CheckObject <FairyGUI.Stage>(L, 1);
         int[]          arg0 = ToLua.CheckNumberArray <int>(L, 2);
         int[]          o    = obj.GetAllTouch(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }