//Gets Triggered every time a button is pressed, fills the button with X or O public void SetSpace() { if (AIcontroller.playermove == true) { buttonText.text = AIcontroller.GetPlayerSide(); button.interactable = false; AIcontroller.EndTurn(); } }