static int SetRenderQueue(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject)); string arg1 = ToLua.CheckString(L, 2); int arg2 = (int)LuaDLL.luaL_checknumber(L, 3); UnGfx.SetRenderQueue(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }