quit function

void Update ()void Update () { if (Input.GetKey(KeyCode.Space) && Time.time > nextFire)  { nextFire = Time.time + fireRate; Instantiate(shot, shotSpawn.position, shotSpawn.rotation); GetComponent<AudioSour

Leave a Reply

Your email address will not be published. Required fields are marked *