示例#1
0
 static int DrawLine(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 10);
         FairyGUI.BaseFont obj  = (FairyGUI.BaseFont)ToLua.CheckObject <FairyGUI.BaseFont>(L, 1);
         float             arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         float             arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
         float             arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
         int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
         int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
         System.Collections.Generic.List <UnityEngine.Vector3> arg5 = (System.Collections.Generic.List <UnityEngine.Vector3>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
         System.Collections.Generic.List <UnityEngine.Vector2> arg6 = (System.Collections.Generic.List <UnityEngine.Vector2>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List <UnityEngine.Vector2>));
         System.Collections.Generic.List <UnityEngine.Vector2> arg7 = (System.Collections.Generic.List <UnityEngine.Vector2>)ToLua.CheckObject(L, 9, typeof(System.Collections.Generic.List <UnityEngine.Vector2>));
         System.Collections.Generic.List <UnityEngine.Color32> arg8 = (System.Collections.Generic.List <UnityEngine.Color32>)ToLua.CheckObject(L, 10, typeof(System.Collections.Generic.List <UnityEngine.Color32>));
         int o = obj.DrawLine(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
         LuaDLL.lua_pushinteger(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }