Exemple #1
0
 public void ChangeBehaviourToPause()
 {
     behaviourOnClick = simulationController.Pause;
     buttonText.text  = "Pause";
 }
Exemple #2
0
 public void ChangeBehaviourToPlay()
 {
     behaviourOnClick    = simulationController.Play;
     button.interactable = true;
     buttonText.text     = "Play";
 }
Exemple #3
0
 public void Awake()
 {
     behaviourOnClick = simulationController.Play;
 }