private IEnumerator HostGame() { while (!socket.IsConnected || socket.IsInvoking()) { Debug.Log("Waiting..."); yield return(new WaitForSeconds(1)); } socket.Emit("host", HostCallback); }
private IEnumerator HostGame() { while (!socket.IsConnected || socket.IsInvoking()) { Debug.Log("Waiting..."); yield return(new WaitForSeconds(1)); } socket.Emit("host", HostCallback); }