⌨️
Keycard System - Doc
  • Keycard System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
    • JSON Save System
  • ❓Support
    • FAQ
    • Unlock Event
    • UI Text Missing?
    • Yellow Warnings?
    • Adding Audioclips
    • System Namespace
    • Adding More Keycards
    • Adding More Inventory Slots
    • Where The Inputs Are Located?
  • 🌀Development
    • Patch Notes - V1.1
    • Roadmap
  • Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • KCInteractor script:
  • KCInventory script:
  1. Support

Where The Inputs Are Located?

KCInteractor script:

  • This is the input that will go on each object and allow for interaction

void PickupInput()
{
    if (canInteract)
    {
        if (Input.GetKeyDown(KCInputManager.instance.interactKey))
        {
            ItemAction();
        }
     }
 }

KCInventory script:

  • This is the input for opening and closing the inventory display

private void Update()
{
    if (Input.GetKeyDown(KCInputManager.instance.openInventoryKey))
    {
        OpenInventory();
    }
}
PreviousAdding More Inventory SlotsNextPatch Notes - V1.1

Last updated 11 months ago

❓