Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(_fireKey))
     {
         _audioUser.Play();
     }
 }
Example #2
0
 void Start()
 {
     _audioUser.Play();
 }