private void Shooting() { if (Input.GetMouseButtonDown(0) && !level01Controller.IsPaused()) { _gunParticles.Clear(); _audioSource.PlayOneShot(_gunSound, 1f); //AudioManager.Instance.PlaySong(_gunSound); _gunParticles.Play(); } }
private void Shooting() { if (Input.GetMouseButtonDown(0) && !level01Controller.IsPaused()) { _gunParticles.Clear(); _audioSource.PlayOneShot(_gunSound, 1f); //AudioManager.Instance.PlaySong(_gunSound); _gunParticles.Play(); } }