S
S
Sergey Ivanov2019-03-18 20:29:38
C++ / C#
Sergey Ivanov, 2019-03-18 20:29:38

Unity how to make an inventory system?

There is a case simulator game how can I organize my inventory in it so that I can save
it all the items these are image objects and I need to add not only the sprite to the inventory, but the object itself from the roulette with all its components

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2019-03-18
@GavriKos

all items are image objects

Bzz! Not right. All objects are some entities that have an id (or any other strictly unique field), an amount and meta-information - a picture, a name, a description, etc. We save IDs and quantity in Playerprefs - the rest is not necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question