Quantcast
Channel: Answers by "khenkel"
Viewing all articles
Browse latest Browse all 47

Answer by khenkel

$
0
0
Use this: function Update() { if(Input.GetKeyDown(KeyCode.Alpha1)) { audio.mute = !audio.mute; } } It didn't recognize your "1" string. Also the muting is more clean now.

Viewing all articles
Browse latest Browse all 47

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>