public void ChangeBehaviourToPause() { behaviourOnClick = simulationController.Pause; buttonText.text = "Pause"; }
public void ChangeBehaviourToPlay() { behaviourOnClick = simulationController.Play; button.interactable = true; buttonText.text = "Play"; }
public void Awake() { behaviourOnClick = simulationController.Play; }