Machine Gun Automatic Fire in Unity3d

In  this Xenosmash tutorial we’ll show you how to increase the rate of fire to mimic a machine gun rate of fire. We’ll be using “GetButton” so that when we hold down the left click button we’ll have automatic fire based off  the rate of fire set in our variable “fireRate”. We will also edit […]

Automatic Fire Toggle in Unity3d

What you’ll learn In this Xenosmash tutorial we’ll  show you how to toggle our automatic fire modes. We’ll include a boolean type of variable that will be toggled by right clicking. Pressing it once will set it to true, and pressing it once more will set it to false and vice versa. When right click […]