コード例 #1
0
ファイル: Server.cs プロジェクト: tuita520/PlanetServer
 void FixedUpdate()
 {
     // since unity isn't thread safe we have to wait until we are back in the unity thread to handle any of the server events
     if (_server != null)
     {
         _server.DispatchEvents();
     }
 }
コード例 #2
0
ファイル: ServerTest.cs プロジェクト: tuita520/PlanetServer
 public void Update()
 {
     _server.DispatchEvents();
 }