static int CreateInstance(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); LuaFramework.NetworkManager o = MonoSingleton <LuaFramework.NetworkManager> .CreateInstance(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CreateInstance(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); LayersMgr o = MonoSingleton <LayersMgr> .CreateInstance(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }