Hi there,
I am working on a 2D sidescrolling game (Unity 4) that has an inventory system to store and use objects after pickup. The inventory GUI element shows squares (buttons, for now) with each item icon. The Inventory is an empty window at first, and whenever the player picks up an object, a new button appears showing the item (its icon). This game is mostly platformer, so all the input comes via the Keyboard, no mouse functions at all.
I was wondering if there’s some way to handle an inventory and its contents with keys. For now, I have things like the main menu and the pause menu completely functional with keyboard-only controls (and each option highlights correctly when I use “up” or “down”) using GUI.SelectionGrid. But with the inventory is a whole different thing. It kinda works, but with no highlighting at all (unless I hover the mouse over the buttons).
How should I proceed with this? Thx.