Ejemplo n.º 1
0
 private void Awake()
 {
     titleScreen             = FindObjectOfType <TitleScreen>(true);
     introductionCanvas      = FindObjectOfType <IntroductionCanvas>(true);
     repeatingTileEnviroment = FindObjectOfType <RepeatingTileEnviroment>(true);
     instructionCanvas       = FindObjectOfType <InstructionCanvas>(true);
 }
Ejemplo n.º 2
0
 public void DisableInstruction()
 {
     InstructionCanvas.SetActive(false);
 }
Ejemplo n.º 3
0
 public void OnClickInstructionsButton()
 {
     HideCanvases();
     InstructionCanvas.SetActive(true);
 }
 // Use this for initialization
 void Start()
 {
     Instance = this;
     //Instance.gameObject.SetActive(false);
 }
Ejemplo n.º 5
0
 void HideCanvases()
 {
     MainMenuCanvas.SetActive(false);
     InstructionCanvas.SetActive(false);
     CreditsCanvas.SetActive(false);
 }