Quantcast
Viewing latest article 4
Browse Latest Browse All 47

Answer by khenkel

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 latest article 4
Browse Latest Browse All 47

Trending Articles