Esempio n. 1
0
 static int OnFill(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UI2DSprite obj = (UI2DSprite)ToLua.CheckObject <UI2DSprite>(L, 1);
         BetterList <UnityEngine.Vector3> arg0 = (BetterList <UnityEngine.Vector3>)ToLua.CheckObject <BetterList <UnityEngine.Vector3> >(L, 2);
         BetterList <UnityEngine.Vector2> arg1 = (BetterList <UnityEngine.Vector2>)ToLua.CheckObject <BetterList <UnityEngine.Vector2> >(L, 3);
         BetterList <UnityEngine.Color32> arg2 = (BetterList <UnityEngine.Color32>)ToLua.CheckObject <BetterList <UnityEngine.Color32> >(L, 4);
         obj.OnFill(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Esempio n. 2
0
 static public int OnFill(IntPtr l)
 {
     try {
         UI2DSprite self = (UI2DSprite)checkSelf(l);
         BetterList <UnityEngine.Vector3> a1;
         checkType(l, 2, out a1);
         BetterList <UnityEngine.Vector2> a2;
         checkType(l, 3, out a2);
         BetterList <UnityEngine.Color32> a3;
         checkType(l, 4, out a3);
         self.OnFill(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }