Forum rules - please read before posting.

How to add "Open Inventory" input

Hey,
My game relies on both the keyboard and controller for input. However, when I checked the available inputs in the game's settings, I couldn't find any mention of an inventory input option.

https://prnt.sc/4yg957cdiAU1

How can I add an additional input to the "Available Input"?
1) How to make the inventory open when pressing "I."
2) How to make "Enter" work as submit input for menus

Thank you,

Comments

  • How to make the inventory open when pressing "I."

    Define a new Input in Unity's InputManager named "Open Inventory", and set the Positive button to the I key.

    From there, there's a couple of ways to have it open the Menu. One is to set your Inventory menu's Appear type to On Input Key, and set the Input name to "Open Inventory".

    For more control, set the Menu's Appear type to Manual. Then define an Active Input from AC's top toolbar menu, and have the "Open Inventory" input run a Menu: Change state Action to turn the Inventory menu on.

    How to make "Enter" work as submit input for menus

    When working with AC menus, Buttons react to the "InteractionA" input. If using Unity UI, they'll react to "Submit".

  • Thank you very much, Chris.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.