🔏
APK - Doc - V1.5
  • Adventure Kit - V1.5
  • ⭐Getting Started
    • Main Setup
    • Managers Setup
      • Step 1 - Canvas Container
      • Step 2 - FPSController
      • Step 2.5 - Audio Manager
        • Audio Reference List
      • Step 3 - UI Manager
      • Step 4 - Input Manager
      • Step 5 - Disable Manager
    • Puzzles Setup
      • Chess Puzzle Sys - Setup
      • Letter & Note Sys - Setup
      • Lever Puzzle Sys - Setup
      • Themed Key Sys - Setup
      • Gas Mask Sys - Setup
      • Flashlight Sys - Setup
      • Generator Sys - Setup
      • Fuse Box Sys - Setup
      • Examine Sys - Setup
      • Padlock Sys - Setup
      • Keypad Sys - Setup
      • Phone Sys - Setup
      • Safe Sys - Setup
    • Interaction Options
  • URP / HDRP SETUP
    • URP/HDRP Setup
  • ❓Support
    • FAQ
    • System Namespace
    • Adding a Trigger Event
    • Using a different character controller
  • 🌀Development
    • Patch Notes - V1.5
    • Legacy Videos
  • 📧Contact Me
    • Request a feature
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • Adding the UI Manager
  • How to reference the UI Manager
  • Screenshot of the AK_UIManager

Was this helpful?

  1. Getting Started
  2. Managers Setup

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

PreviousAudio Reference ListNextStep 4 - Input Manager

Last updated 4 years ago

Was this helpful?

⭐