static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); CC.Module.Menu.MenuLayerType o = (CC.Module.Menu.MenuLayerType)arg0; LuaScriptMgr.Push(L, o); return(1); }
static int GetRoot(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); CC.Module.Menu.MenuLayerType arg0 = (CC.Module.Menu.MenuLayerType)LuaScriptMgr.GetNetObject(L, 2, typeof(CC.Module.Menu.MenuLayerType)); Transform o = obj.GetRoot(arg0); LuaScriptMgr.Push(L, o); return(1); }