public void OnUpdate() { if (_network.IsRunning() && Time.time > _exitTime ) { _transitionState = ServerStateId.Hosting; } }