Quick Setup
1). Add the FPSController object from the prefabs folder into your scene and make sure to add:
BRInteractor
2). Add the pickups to your scene: Cash or Armour, these items will need these:
Box Collider
BRItem script
Set the ItemType & Item Value
3). Add a damage area to your scene or any other object you want to cause damage to the player
You need to add the Damage Area script to it
Add a collider so the interaction cna happen and set to IsTrigger
4). Add a BRUIManager:
This controls where all the UI elements should be connected to (Make sure to add the canvas elements as below)
5). BR Vitals Manager:
Player Cash: How much cash to have on start
Current Health Value: Health at the start of the game.
Starting Armour Equipped: How much starting armour (Out of 3).
Armour Stored: Armour currently held in the inventory
Max Heal & Equip Timers: How long before you will regenerate health and how long to equip armour plates
Equip Armour Key: The key to hold before equipping armour
Sounds: The sound reference Scriptables for the sound effects you'd like to use
6). BR Audio Manager: Add any of the Sound Scriptables Objects to this array if you're using them.
7). Add the two Canvas's: These will be the Health Canvas and the Crosshair Canvas. They can be found in the prefabs folder
This should be setup and ready to use, if you do have any issues at all. Do send me an email and I'll get back to you as soon as possible!
Last updated