Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     tiempo              = 0;
     score               = 0;
     powerUps            = 0;
     naveComportamientos = GetComponent <NaveComportamientos>();
     controlInstance     = this;
 }
Exemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        audioSource = Camera.main.GetComponent <AudioSource>();

        instance         = this;
        respawnAndShield = GetComponent <RespawnAndShield>();
        vida             = 5;
        puntaje          = 0;
        powerUpLvl       = 1;
        powerUpTotales   = 0;
        nuevaVida        = 5000;
    }
Exemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     respawn             = GetComponent <RespawnAndShield>();
     naveComportamientos = GetComponent <NaveComportamientos>();
 }