private void FindComponents() { _intro = transform.Find("Intro").GetComponent <IntroWidget>(); _clock = transform.Find("Clock").GetComponent <ClockWidget>(); _gameOver = transform.Find("GameOver").GetComponent <GameOverWidget>(); _targets = transform.Find("Targets").GetComponent <TargetWidget>(); _flash = GetComponent <Image>(); _controls = transform.Find("Controls").GetComponent <Text>(); }
private void FindComponents() { _intro = transform.Find("Intro").GetComponent<IntroWidget>(); _clock = transform.Find("Clock").GetComponent<ClockWidget>(); _gameOver = transform.Find("GameOver").GetComponent<GameOverWidget>(); _targets = transform.Find("Targets").GetComponent<TargetWidget>(); _flash = GetComponent<Image>(); _controls = transform.Find("Controls").GetComponent<Text>(); }