Ejemplo n.º 1
0
 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>();
 }
Ejemplo n.º 2
0
 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>();
 }
Ejemplo n.º 5
0
 private void Awake()
 {
     bushes = GameObject.FindGameObjectWithTag("Spawner").GetComponent <WeedsSpawnSystem>();
 }