Is there any way to create UI elements Dynamically?
I have an inventory panel which contains some item icons.
When i open the this panel, i need to create a number of item icons according to a variable.
So how can i create these icons with the right number and make them in the right order in the panel?
Should i use a prefab and create it as a child of the panel, then set its rect-transform manually?