I recommend you add a Layout - Grid Layout component to the inventory panel instead of coding the slots’ positions. This way it’s very easy to adjust the slot size and offset from the Inspector.
Are you going to make a video about using grid layouts, that seems to be the preferred way to handle placement of slots. I’d like to see it in action.
I gonna do it later I guess. I will finish the inventory, which is going pretty fast I guess and than I gonna do another video where I optimize everything.
I understand english perfectly but I do not speak it often. It is a different to hear a word and knowing what it means and speaking with someone where you have to know the words. But I notice that am getting better from video to video.
Thank you. I gonna create another video, after the inventory tutorial, where I gonna optimize everything so that the inventory is good perfomance wise. And later I gonna create a environment panel - like in DayZ - which will show dropped item near you.
To be honest. I do not like the guys who only come for downloading the sourcecode ;)(no offense). I know what you mean but this is not the intention of this tutorial. People have to watch the video. Maybe I gonna attach it at the end of the video, that you can click onto it like the “part 2 ---->” things.
Btw, i’ve got a question: i want to drag item in the inventory like drag and drop, i mean i press the button, move the item to another slot (button is still pressed), release the button and item move from inital slot to the one which over i released the button.
I can’t do that. I tried to use OnEndDrag method, but it has slotNumber of initial slot, not the one i finish dragging. do u have any ideas how to do that?