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.
↧