Exemplo n.º 1
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.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     respawn             = GetComponent <RespawnAndShield>();
     naveComportamientos = GetComponent <NaveComportamientos>();
 }