🚪
Door Interaction Kit - Doc
  • Introduction
  • ⭐Getting Started
    • Quick Setup
    • Changing Door Key
    • How To Create a Key
    • How To Add Planks
    • How To Spawn Objects
  • ❓Support
    • FAQ
    • Door Rotation Issue?
    • Door Customisation
    • System Namespace
    • What Inputs Are Used?
    • Audio ScriptableObjects
    • Variables / Fields Not Appearing in Inspector?
  • 🌀Development
    • Patch Notes - V1.2
    • Roadmap
  • 📧Contact me
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • Creating Key ScriptableObject:
  • Creating Key Collectable:
  1. Getting Started

How To Create a Key

PreviousChanging Door KeyNextHow To Add Planks

Last updated 1 year ago

Creating Key ScriptableObject:

  • You can create a ScriptableObject by righting click the hierarchy and creating a Key object

    • Key Name: Add the keys name here

    • Key Sprite: Add the sprite to use for the key object

Creating Key Collectable:

  • Add a 3D object of a key to your scene and make sure it is setup as below:

    • Box Collider

    • Door Item script

      • Set the DoorType to Key

    • Key Collectable script

      • KeyScriptable: Add the relevant ScriptableObject to this slot

      • PickupSound: Add a pickup sound of your choice

⭐