- Home /
Development of the shop?
Hi, guys.
I want create a simple shop in my game. I have a lot of items.
I want create something like arrays with two dates - Price and object and give each objects index array. I'm try using a dictionary too, but I could not see in the inspector. Maybe I did something wrong?
But I'm not sure about this solution. Maybe there is a better solution?
p.s my English is not good :( But I think you will understand the essence of my question.
Answer by Positive7 · Jul 30, 2015 at 06:33 PM
Dictionary can't be seen in the Inspector. You can try to use ExtendedInspector from Asset Store https://www.assetstore.unity3d.com/en/#!/content/2288 but it 's a bit out dated so you need to edit the code a little bit see first comment on the Asset Store. Or you can write a Custom Editor to show the Dictionary elements.