static int GetUIRootDy(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); WCG.UIMgr obj = (WCG.UIMgr)ToLua.CheckObject <WCG.UIMgr>(L, 1); UnityEngine.GameObject o = obj.GetUIRootDy(); ToLua.PushSealed(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }