Пример #1
0
 static int DrawGlyph(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 7);
         FairyGUI.DynamicFont obj = (FairyGUI.DynamicFont)ToLua.CheckObject <FairyGUI.DynamicFont>(L, 1);
         float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
         System.Collections.Generic.List <UnityEngine.Vector3> arg2 = (System.Collections.Generic.List <UnityEngine.Vector3>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
         System.Collections.Generic.List <UnityEngine.Vector2> arg3 = (System.Collections.Generic.List <UnityEngine.Vector2>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List <UnityEngine.Vector2>));
         System.Collections.Generic.List <UnityEngine.Vector2> arg4 = (System.Collections.Generic.List <UnityEngine.Vector2>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List <UnityEngine.Vector2>));
         System.Collections.Generic.List <UnityEngine.Color32> arg5 = (System.Collections.Generic.List <UnityEngine.Color32>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List <UnityEngine.Color32>));
         int o = obj.DrawGlyph(arg0, arg1, arg2, arg3, arg4, arg5);
         LuaDLL.lua_pushinteger(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }