void Start() { _getWordScript = GetComponent <GetWord_Script>(); _gallowManangerScript = GetComponent <GallowMananger_Script>(); _gameManangerScript = GetComponent <GameMananger_Script>(); WrongLetterText.text = ""; }
void Start() { _getWordScript = GetComponent <GetWord_Script>(); _gameManangerScript = GetComponent <GameMananger_Script>(); _catButtonHolder = _gameManangerScript.CategoryUIGO.transform.GetChild(2); _loadingScreen = _catButtonHolder.parent.parent.GetChild(3).gameObject; _loadingScreen.SetActive(true); StartCoroutine("loadStreamingAsset"); _manualWords = new List <string>(); _activeWords = new List <string>(); _catButtons = new List <Button>(); }
void Start() { _gameOverTitleText = GameOverGO.transform.GetChild(1).GetComponent <TextMeshProUGUI>(); _gameOverText = GameOverGO.transform.GetChild(2).GetComponent <TextMeshProUGUI>(); _scoreText = GameOverGO.transform.GetChild(3).GetComponent <TextMeshProUGUI>(); _getWordScript = GetComponent <GetWord_Script>(); _wordAdded = CategoryUIGO.GetComponentInChildren <ScaleOut_Script>(); _wordImportScript = GetComponent <WordImport_Script>(); _wordCountText = CategoryUIGO.transform.GetChild(8).GetComponent <TextMeshProUGUI>(); _scoreManangerScript = GetComponent <ScoreMananger_Script>(); _newWordButton = GameOverGO.transform.GetChild(4).GetChild(1).GetComponent <Button>(); _inputManangerScript = GetComponent <InputMananger_Script>(); GameOverGO.SetActive(false); MainGameUIGO.SetActive(false); CategoryUIGO.SetActive(true); ToggleHard(); UpdateWordCountText(0); }