Ejemplo n.º 1
0
    private void Awake()
    {
        carUIController  = GameObject.FindGameObjectWithTag("CarUI").GetComponent <CarUIController>();
        mainUIController = GameObject.FindGameObjectWithTag("MainUI").GetComponent <MainUIController>();

        StopGameFirst();
    }
Ejemplo n.º 2
0
 private void Awake()
 {
     powerUpSpawnManager = GameObject.FindGameObjectWithTag("PowerUpSpawnManager").GetComponent <PowerUpSpawnManager>();
     carUIController     = GameObject.FindGameObjectWithTag("CarUI").GetComponent <CarUIController>();
     spawnManager        = GameObject.FindGameObjectWithTag("SpawnManagers").GetComponent <SpawnManager>();
 }