//IENumerators public IEnumerator ShowResults() { if (PhotonNetwork.LocalPlayer.ActorNumber == 1) { p1.myChoiceUpdate(this.myChoice); p2.myChoiceUpdate(this.theirChoice); } else { p2.myChoiceUpdate(this.myChoice); p1.myChoiceUpdate(this.theirChoice); } infoText.text = this.myResult == Results.Win ? "You attack the oponent." : "You have been attacked."; this.myResult = Results.None; yield return(new WaitForSeconds(5.0f)); infoText.text = "Choose an attack."; buttons.interactable = true; p1.myChoiceUpdate(""); p2.myChoiceUpdate(""); yield return(new WaitForSeconds(1.0f)); }