static int AddToDDOLRoot(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject)); MonoExtendUtil.AddToDDOLRoot(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }