public void RequestReady() { player = players[0]; int readyPlayer = int.Parse(player.tag); RequestReady ready = new RequestReady(); ready.send(readyPlayer); cManager.send(ready); Debug.Log("Sent ready request"); }
public bool SendReadyRequest() { if (cManager && cManager.IsConnected()) { RequestReady request = new RequestReady(); request.send(); cManager.send(request); return(true); } return(false); }