unity-variables
UniversalInventorySystem
unity-variables | UniversalInventorySystem | |
---|---|---|
2 | 1 | |
3 | 110 | |
- | - | |
2.6 | 5.8 | |
4 months ago | about 2 months ago | |
C# | C# | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unity-variables
UniversalInventorySystem
-
ArrayList question
Or do you mean a List or List[] you can't be this ambiguous about your terminology? I don't know what you mean by 'shapes', do you mean gameObject or do you mean meshes or some other data type? For finding things, with an array or List you kinda have to check every entry until you find the correct thing, so if you're looking for an int that is between 6-8 you have to check each int using a for or foreach loop. If you want to set something to equal a random entry, You can use Random.Range(0, collection.Length); for example and it will give you a random entry in that collection. Unity will actually serialise most arrays or lists so long as they're public or marked as a serializable field, so you can actually see what's in them in the inspector. You have the ability to write to the console to tell you all the entries. However a lot of inventories will use a Dictionary as it scales a lot better for searching. There are tons of examples of inventory systems out there for you to look at https://github.com/devdogio/Inventory-Pro https://github.com/Heymity/UniversalInventorySystem https://github.com/slopezpereyra/Item-InventorySystem-Unity3D https://github.com/nzhul/inventory-system But you probably won't understand how they work.
What are some alternatives?
ecs - LeoECS is a fast Entity Component System (ECS) Framework powered by C# with optional integration to Unity
TQVaultAE - Extra bank space for Titan Quest Anniversary Edition
MyBox - MyBox is a set of attributes, tools and extensions for Unity
unity-aseprite-importer - An aseprite-file importer for unity written in C#, built upon the experimental AssetImporter API
Entitas - Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
unity-package-wizard - Command-line wizard to simplify the creation of unity packages.
YarnSpinner - Yarn Spinner is a tool for building interactive dialogue in games!
AIAssetGeneration - ChatGPT/DALL-E powered asset generation for Unity
stylised-character-controller - A stylised physics based character controller made in Unity 3D.
Binner - Open source parts inventory system for makers, electronics hobby, and professional engineers
inventory-system - Simple inventory system for unity