void Start() { gameDataController = FindObjectOfType <GameDataController>(); gameModeController = FindObjectOfType <GameMode>(); if (gameDataController != null) { modeTumButton.interactable = gameDataController.GetTumUnlockedStatus(); modeAlternateButton.interactable = gameDataController.GetAlternateUnlockedStatus(); if (!modeAlternateButton.interactable) { modeAlternateButton.gameObject.GetComponentInChildren <TextMeshProUGUI>().text = "Locked"; } } }