Quick Setup
Last updated
Last updated
QUICK START: Use the included Entire_DemoScene prefab (Which can be found in the prefabs folder) to add all the required components to your scene with one drag and drop asset. Then customise to your liking!
1). Add the FPSController object from the prefabs folder into your scene and make sure to add:
BRInteractor
You can set the Ray distance of which you can interact with assets and also which button press to make an interact. By default it is Left Mouse Click.
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
Gas particles are provided in the demo scene and prefabs folder for some visual improvements
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!