Exemplo n.º 1
0
    void Start()
    {
        MAX_BULLETS = 5;
        isShooting  = false;
        isReloading = false;
        bulletsLeft = 5;
        bulletsUI   = new BulletsUI();

        source = GetComponent <AudioSource>();
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     instance = this;
 }