Well i have seen some youtube videos but they are different tutorials, I need some implementation guidance like which classes and mechanism to use from
if you know a tutorial then please paste the link here
Well i have seen some youtube videos but they are different tutorials, I need some implementation guidance like which classes and mechanism to use from
if you know a tutorial then please paste the link here
You need a better description of what you want to do. What mechanisms do you want? Common functionality for an inventory system includes
Work in each piece of functionality separately, rather then trying to create an entire system in one go.
Hi @Kiwasi Thank you soo much for the reply.
I think these are my requirements
Basically its just a list of Items which are locked ( some initial 2 3 are unlocked ) and then player uses the points scored in game to unlock the further items.
EXAMPLE: assume that these items are nothing but list of Cars to be unlocked and player progresses through the game earns money and then unlocks respective car according to its price. ( my game is waaay to much simple )
Player can also Unlock the GameObjects using purchases or special collectibles ( NOT MUCH REQUIRED )
I intend to make this game simple .
If not a whole data structure or a System of collections, but just a simple manual management of the items i.e. if i can just copy paste a particular block and replace the entry ID of the item to be shown in the list in my script, a very naive basic functionality. That will also do .
I want to learn how to make these rather than use a third party system and just use the code. ready to take the pain of this Implementation.
Thank you sir !
I’m assuming you are using 4.6?
If so you can simply build your interface graphically with a grid layout and buttons. Set intractable on each button to false until it is unlocked. I would also suggest building a class to hold all the details of each button. Cost, isUnlocked and so forth.
I made a game of chess like that. Monobehaviors on gui objects… who would have thought it.
I do it all the time. It’s rare that a UI element has the exact combination of behaviours that I’m after. There is nothing inherently draggable, for example.
Yes i am using 4.6 and New UI for this.
@Kiwasi thanks i will try that out
This makes sense, I understood from where i can start.