Hello peeps!
I'm trying to make an inventory with 2 categories "clues" and "items".
I have managed this by using 2 inventory boxes, each displaying 1 category, in the same menu however I can't scroll over to the second menu. (I'm not using any mouse control as I mainly want the game to be played on a gamepad).
Is there any way I can do this or another method to achieve my goal? I'd ideally like them all on one screen.
Cheers.
Comments
Controlling Menus with gamepads is a complex topic in and of itself. What do you mean exactly by "scroll over"? An image showing your desired layout would help understand what it is you're going for.
You'll have more control over gamepad-controlling your Menu if the Menu itself is linked to Unity UI. If the Menu does not pause the game, be sure to use the Engine: Manage systems Action when it turns on to allow keyboard (and gamepads, by extension) controlling of menus during gameplay.
Items Clues
xxxx xxxx
xxxx xxxx
Is there no way to have 1 grid and separate the items by category somehow? That seems like it would be simpler to control.
Inventory boxes have the added complication of having multiple slots, whereas Buttons etc only have one. AC's menu-scrolling is quite limited, which is why Unity UI should be used as it gives you complete control over how scrolling works.
You must be sure to check Auto-select first visible Element? and assign your Menu's First selected element, however, as scrolling will not work without it - see the help box that appears beneath that field.
Each of the Menus in the Demo_MenuManager has a Unity UI variant. Test it out by switching the Source over for each, and assign an element to auto-select.