Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     tiempo              = 0;
     score               = 0;
     powerUps            = 0;
     naveComportamientos = GetComponent <NaveComportamientos>();
     controlInstance     = this;
 }
Пример #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;
    }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     respawn             = GetComponent <RespawnAndShield>();
     naveComportamientos = GetComponent <NaveComportamientos>();
 }