Hi all, I'm using the walking dead download for my ui, and I've just made my first inventory item. When I show my inventory with the one item in it, it is way bigger than the first inventory slot - in fact the frame of the slot doesn't even show.
To complicate matters, if I leave the number of inventory slots at 5 (the default number), the image stretches to fill all the slots, so I limited the slots to 1, but as I said the image is still too big.
I am assuming I am missing something basic, but after scouring the inventory menu settings and game settings in the AC game editor, I can't find what I'm doing wrong. The image is a 256 x 256 png texture. Any assistance is appreciated. Thanks.
Comments
Check the Size field of your InventoryBox element's properties. If it is set to Automatic, it will take the size of your inventory graphic (i.e. 256x256). If you set it to Absolute Pixels or Manual, you can choose the size of it there in the editor.
If you're still having trouble, post screenshots of your Menu's properties as shown in the Menu Manager, and how it looks in-game.
You can correct this either by amending the prefab, or by switching to AC's renderer instead. To amend the prefab, find the Linked Canvas field in the Menu's properties and drag the prefab (should be WD_InventoryUI) into your scene, adjust the inventory btuton sizes to suit, apply changes and remove from the scene. Otherwise, set the Menu's Source field to Adventure Creator, and then adjust the InventoryBox's Size field, while having the Game window open to see the changes made in real-time.
The camera issue is too complex to understand without some video or screenshots. Would you be able to provide some visuals to help explain it? Also, what platform are you building to?
The Scene Manager issue would be because it's not detecting your scene as an "AC" one. This is basically a case of whether or not there is an instance of AC's GameEngine prefab present in the scene. Was this occuring in an old scene you were working on?