Step 3 - UI Manager

Adding the UI Manager

Add the "AK_UIManager" from the prefabs folder or the "Adventure_Kit_Managers" pack to add all to the hierarchy. You can add the "AKUIManager" script to an empty gameobject if you want to start fresh

How to reference the UI Manager

//Add this namespace to the top of the script to reference the adventure kit
using AdventurePuzzleKit;
//Whether you have picked up the flashlight object 
AKUIManager.instance.hasFlashlight = true;

//Whether you have picked up a Gas Mask
AKUIManager.instance.hasGasMask = true;

//Whether you have picked up a jerrycan 
AKUIManager.instance.hasJerrycan = true;

//Whether you have collected a themed key - Any will work
AKUIManager.instance.hasThemedKey = true;

Screenshot of the AK_UIManager

Add the Canvas' that are suitable for the specific slots from the "AdventureKit_CanvasContainer" from the prefabs folder

Last updated