WeaponController
PROPERTIES
playerCamera: Reference for the player camera.
controllerAimSensitivity: Sensitivty for the aim when using a controller.
weaponHolder: Transform that contains all the weapons during the game.
initialWeapons: Assign the Weapon_SO of your initial weapon. Do not assign more than the hotbar size.
hitLayer: Assign all the layers that can be hit by the player.
customShot: Used for weapons with custom shot method. Here, you can attach your scriptable objects and assign the method you want to call on shoot. Please only assign those scriptable objects that use custom shot methods, otherwise it won´t work or you will run into issues.
canShootWhileLadder: Allow shooting while in a ladder.
canShootWhileGliding: Allow shooting when gliding.
HOW TO ADD NEW WEAPONS
Please, refer to Adding New Weapons.
Last updated