So like in this video,
http://youtu.be/WT1yPEUkdjoI have units in my list (says inventory), and I can drag some unit and drop to battle field.
So there is 9 spaces on battlefield.
How can I set some data (int value in this case for representing battle field position) to dragged item?
So if I move to 1 posiiton (top left position from 9 positions), I want to assign int value of 1 to that gameobject (ngui dropped item prefab gameobject)
Thanks.