in my inventory script i have this…
var TargetObject:Transform; and this
Well i already made a script to add object into it…and its all good…i also made a GUI function in an other script to show my items and how many i have…but the things is that i cant assign icon or name or even delete the object from my inventory because once i add it…i cant regain acces to it…CAn somme one help…me just by showing me how i can acces one of the items inside of it…by index…even get acces to the script of one of the game object that is inside…i dont show my other script because it too long and not necessary…SO HELP PLZ !!! its 2 month i try to get a inventory like this and now im on a good way…!!other videos of inventory doesnt do what i can do…so…!!
so what i need:
showing me how i can acces one of the items inside of it…by index…even get acces to the script of one of the game object that is inside