Exemple #1
0
    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");
    }
Exemple #2
0
 public bool SendReadyRequest()
 {
     if (cManager && cManager.IsConnected())
     {
         RequestReady request = new RequestReady();
         request.send();
         cManager.send(request);
         return(true);
     }
     return(false);
 }