Example #1
0
 //Set the cell chosen to the value of the player marker (Default will be "X")
 public void SetPlayerMarker()
 {
     if (_controller._playerMove)
     {
         _btnText.text        = _controller.GetPlayerMarker();
         _button.interactable = false;
         _controller.PlaySound();
         _controller._lastPlacedMarker = _button;
         _controller.EndTurn();
     }
 }