private void Awake() { gameMaster = GameObject.FindGameObjectWithTag("GM").GetComponent <GameMaster>(); gameOver = GameObject.FindGameObjectWithTag("GO").GetComponent <GameOverSystem>(); weeds = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>(); player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>(); }
private void Awake() { weeds = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>(); player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>(); gameOver = GameObject.FindGameObjectWithTag("GO").GetComponent <GameOverSystem>(); cutnRun = GameObject.FindGameObjectWithTag("CD").GetComponent <CutnRunSystem>(); countDown = GameObject.FindGameObjectWithTag("CD").GetComponent <CountDownSystem>(); }
private void Awake() { player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>(); spawner = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>(); }
private void Start() { weeds = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>(); }
private void Awake() { bushes = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>(); }