Esempio 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));
     }
 }
Esempio n. 2
0
 void Start()
 {
     networkManager = new NetFramework.NetworkManager();
     luaClient      = new GameObject("LuaClient").AddComponent <LuaClient>();
 }