static int DrawRoundRect(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); FairyGUI.GGraph obj = (FairyGUI.GGraph)ToLua.CheckObject <FairyGUI.GGraph>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); UnityEngine.Color arg2 = ToLua.ToColor(L, 4); float[] arg3 = ToLua.CheckNumberArray <float>(L, 5); obj.DrawRoundRect(arg0, arg1, arg2, arg3); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }