void Start() { _getWordScript = GetComponent <GetWord_Script>(); _gallowManangerScript = GetComponent <GallowMananger_Script>(); _gameManangerScript = GetComponent <GameMananger_Script>(); WrongLetterText.text = ""; }
void Start() { _gameManangerScript = GetComponent <GameMananger_Script>(); _gallowSprits = MainGallowGO.transform.GetChild(0).GetComponentsInChildren <SpriteRenderer>(); _characterSprites = MainGallowGO.transform.GetChild(1).GetComponentsInChildren <SpriteRenderer>(); _scoreManangerScript = GetComponent <ScoreMananger_Script>(); }
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() { _letterSlotText = LetterSlotsHolder.GetComponentsInChildren <TextMeshProUGUI>(); _inputManangerScript = GetComponent <InputMananger_Script>(); _gallowManangerScript = GetComponent <GallowMananger_Script>(); _scoreManangerScript = GetComponent <ScoreMananger_Script>(); _gameManangerScript = GetComponent <GameMananger_Script>(); foreach (TextMeshProUGUI t in _letterSlotText) { t.transform.parent.gameObject.SetActive(false); } //ChooseWord(); }
void Start() { _playerInv = FindObjectOfType <PlayerInv_Script>(); _playerInput = _playerInv.GetComponent <PlayerInput_Script>(); _sword = _playerInv.transform.GetComponentInChildren <Sword_Script>(); _gameManangerScript = _playerInv.GameManagScript; _infoTextScreen = ShopButtons[0].transform.parent.parent.GetChild(2).gameObject; _infoText = _infoTextScreen.GetComponentInChildren <TextMeshProUGUI>(); _audioSource = GetComponent <AudioSource>(); ShopUI.SetActive(false); UpdateBloodBankUI(); _shopButtonsTexts = new List <TextMeshProUGUI>(); SetUpButtons(); }