Fuse Box System - Doc
  • Fuse Box System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
  • ❓Support
    • FAQ
    • Power Up Event
    • System Namespace
    • Adding Audioclips
    • Add Additional Fuseboxes
    • Is Text Missing?
    • Where are Inputs?
  • 🌀Development
    • Patch Notes - V1.4
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • Where is the input reference?
  • Changing the Input:
  1. Support

Where are Inputs?

PreviousIs Text Missing?NextPatch Notes - V1.4

Last updated 1 year ago

Where is the input reference?

There are TWO input reference in this package and it is located below:

  • FBInteractor script has an input for interacting with objects with the raycast

  • FBUIManager scirpt has an input for opening and closing the inventory

  • Edit the input keys int he FBInputManager script

Changing the Input:

FBInputManager:

FBUIManager:

private void Update()
{
    if (Input.GetKeyDown(FBInputManager.instance.inventoryKey))
    {
        OpenInventory();
    }
}

FBInteractor:

if (raycastedObj != null)
{
    if (Input.GetKeyDown(FBInputManager.instance.interactKey))
    {
         raycastedObj.ObjectInteract();
    }
}
❓