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(); } }
public void Update() { _server.DispatchEvents(); }