static int _m_GetInstance_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { PUtils gen_ret = PUtils.GetInstance( ); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
void Awake() { PUtils ut = PUtils.GetInstance(); Loom lm = Loom.Current; mNetMgr = NetMgr.GetInstance(); mNetMgr.Init(); mGameMgr = GameMgr.GetInstance(); mGameMgr.Init(); mRoomMgr = RoomMgr.GetInstance(); mRoomMgr.Init(); mVoiceMgr = VoiceMgr.GetInstance(); mVoiceMgr.Init(); mReplayMgr = ReplayMgr.GetInstance(); mReplayMgr.Init(); }