// Use this for initialization void Start() { computer = GameObject.Find("Computer").GetComponent <CharacterPainter>(); keyboard = GameObject.Find("Keyboard").GetComponent <CharacterPainter>(); inputField = GameObject.Find("InputField").GetComponent <CharacterPainter>(); originPlayTime = playTime; originTotalWords = totalWords; GameOver(); }
private void Start() { painter = transform.Find("Body").GetComponent <CharacterPainter>(); SetColor(); _gameController = FindObjectOfType <GameController>(); }