Exemplo n.º 1
0
 static int set_networkManager(IntPtr L)
 {
     try
     {
         NetFramework.NetworkManager arg0 = (NetFramework.NetworkManager)ToLua.CheckObject <NetFramework.NetworkManager>(L, 2);
         TestStart.networkManager = arg0;
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     networkManager = new NetFramework.NetworkManager();
     luaClient      = new GameObject("LuaClient").AddComponent <LuaClient>();
 }