Discussions
Sign In
Forum rules
- please read before posting.
More than 30 inventory slots?
lemmy82
November 2017
in
Technical Q&A
Is there a way to have more than 30 inventory slots when using Unity UI? I would like to have a full screen inventory that shows more than 30 slots on the screen at one time.
Comments
ChrisIceBox
November 2017
Welcome to the community,
@lemm82
.
I prefer to keep the "Max number of slots" field as a slider to make the UI more user-friendly. What would you like it to be raised to?
Incidentally, you can change the value manually by editing the MenuInventoryBox.cs' ShowGUI function:
maxSlots = CustomGUILayout.IntSlider ("Max number of slots:", maxSlots, 1, 30, apiPrefix + ".maxSlots");
lemmy82
November 2017
Thanks! That worked great. I'm sure the default value of 30 is fine for most games.
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!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
12.7K
All Categories
66
Official news
1.5K
Engine development
10.6K
Technical Q&A
337
Games showcase
152
Extending the editor
230
Adventure talk
Welcome to the official forum for Adventure Creator.
Forum rules
Main website
Store page
Community wiki
Community Discord
Powered by Vanilla
Comments
I prefer to keep the "Max number of slots" field as a slider to make the UI more user-friendly. What would you like it to be raised to?
Incidentally, you can change the value manually by editing the MenuInventoryBox.cs' ShowGUI function:
maxSlots = CustomGUILayout.IntSlider ("Max number of slots:", maxSlots, 1, 30, apiPrefix + ".maxSlots");