Example #1
0
 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();
     }
 }
Example #2
0
 public void Update()
 {
     _server.DispatchEvents();
 }