UHFPS
  • 👋Welcome
  • 🎲Installation
    • URP - Project Setup
    • HDRP - Project Setup
    • Packages Setup
  • 🎮Getting Started
    • References
  • ⬆️Update Process
  • 📑Changelog
  • 📍Roadmap
  • ❔Support
  • 📚Guides
    • Managing Inputs
      • Adding Inputs to UI
      • Setting up Input System
    • State Machines
      • Adding Player States
      • Adding AI States
    • Save/Load Manager
      • Previous Scene Persistency
      • Encryption
    • Customizing UI
    • Interactions
    • Inventory
    • Player Items
    • Dynamic Objects
    • Motion Controller
      • External Motions
    • Hiding System
    • Narration System
    • Jumpscares
    • Puzzles
    • Objectives
    • Cutscenes
    • Options Manager
    • Game Manager
    • Localization
    • URP Specific
  • ⚙️Integrations
    • Emerald AI 3.0
    • AI Tree
    • Meet and Talk
Powered by GitBook
On this page
  1. Guides
  2. Managing Inputs

Adding Inputs to UI

PreviousManaging InputsNextSetting up Input System

Last updated 1 month ago

Newly created inputs are not automatically added to the options settings, so you need to do a few extra steps to see the newly added inputs and be able to rebind them.

  1. Open the GAMEMANAGER / MAINMENU prefab. Both prefabs can be found in the UHFPS -> Content -> Resources -> Setup folder.

  2. Find the Panel_Controls object in both GAMEMANAGER and MAINMENU.

  1. Under the Viewport -> Content inside Panel_Controls you will notice many binding objects. Those represent the actual controls that are shown in the options.

  2. To add a newly created control, simply duplicate the Binding_Forward or another binding object.

  3. Select the duplicated binding and in the Input Options component, assign the newly created input to the Input Reference field.

  1. Finally, in the GLoc Text component, select Gloc Key that represents the localization key for the input binding.

To display a newly created input actions in both the Main Menu and Pause Menu, you must perform the same steps in the GAMEMANAGER and MAINMENU prefabs.

📚
Localization