// Update is called once per frame void Update() { if (network.IsConnected()) { connectionText.text = "Connected"; } else { connectionText.text = "Disconnected"; } }
// Update is called once per frame void Update() { if (network.IsConnected()) { OnSendButton(); // connectionText.text = "Connected"; } else { // connectionText.text = "Disconnected"; } }