Weapons Rack : Racks

Racks allow your to select which weapon and rounds to fire for that weapon.

The WeaponsRack class offer methods to load weapons and shots, or you can build prefabs in the Unity Editor.

Options and Settings
  • Selected Weapon : This is an ENUM that allows you to select the weapon that the rack will fire.
  • Auto Fire : This fires the weapon continuously. In effect ignoring the fire button.
  • Track Target : Set true to make the rack aim the weapon at the target. Set false if you have your own method to aim the weapon.