Exemplo n.º 1
0
 void Start()
 {
     _getWordScript        = GetComponent <GetWord_Script>();
     _gallowManangerScript = GetComponent <GallowMananger_Script>();
     _gameManangerScript   = GetComponent <GameMananger_Script>();
     WrongLetterText.text  = "";
 }
Exemplo n.º 2
0
    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();
    }