Quantcast
Channel: Questions in topic: "gun"
Viewing all articles
Browse latest Browse all 592

JavaScript - FireMode Toggle Help

$
0
0
This is what I currently have: if(Input.GetKeyDown("v")) { FireMode = "Semi"; } if(Input.GetKeyDown("b")) { FireMode = "Auto"; } I want to be able to press one key to toggle between the two firemodes.

Viewing all articles
Browse latest Browse all 592

Trending Articles



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