/// <summary> /// A routine that starts the host, it requires a couple of frames to properly start the components /// </summary> private IEnumerator StartHostRoutine() { SpectatorViewNetworkDiscovery.ManualStart(); yield return(null); NewDeviceDiscovery.ManualStart(); }
/// <summary> /// A routine that starts the host, it requires a couple of frames to properly start the components /// </summary> private IEnumerator StartHostRoutine() { yield return(new WaitUntil(() => NetworkManager.IsClientConnected())); SpectatorViewNetworkDiscovery.ManualStart(); yield return(null); NewDeviceDiscovery.ManualStart(); }