Detailed Setup
Quick Tips & Troubleshooting
TextMeshPro Required
Tags & Layers Reference
System Setup
Step 1 - Setting Up The Player
Step 2 - Adding the Managers
Step 3 - UI Manager Setup
Slot Prefab
Add the Inventory Slot prefab from the prefab folder
Inventory Panel
Add the Inventory Container from the Key Inventory Canvas
Inventory Fade Duration
Set the fade time before opening or closing the inventory
Crosshair
Add the UI - Crosshair UI object
Persistence
Set whether you want to keep this between scenes
Step 4 - Inventory Canvas Setup
Step 5 - Setting up the inventory
Step 6- Setting up the Audio Manager
Adding AudioclipsStep 7 - Creating a Key Pickup
Step 8 - Creating an interactive door
Remove Key After Use
Should the key be removed from the inventory after using it with the door?
Key Scriptable
Add the key scriptable object that is specific for this door
Animated Door Key
Add the animated key which is parented to this asset
Sounds
Add the sound SO's that are in the screenshot below
Key Audio Delay
The delay before the audio for key insert will play. Default: 0.5 seconds
Door Open Delay
The delay before the door opening sound will play. Default: 1.5 seconds
Animation Event
The event which happens when the key is inspired, so in my demo this plays the animation from the EmblemDoorController script which is on the prefab object.
Last updated