I just added the GUIstyle line and then, the icons just disappears. The background is showed, but not the Icons. Can Someone help me, please?
We continue with another tutorial in our Hack And Slash demo made with the Unity3d Game Engine.
In this video tutorial, we will start touching up our GUI.style so the game looks a little better, and will allow us to plan out what graphics we will need to create.
I know how to get rid of the numbers by editing the code, but I did not see you edit it at all and then they were gone. Is there something I missed with the type of GUI style you used for your "Inventory Slot Empty", or was there some behind the scenes stuff going on and you just edited the code. Thanks in advance, and thanks again for the tutorials should have a demo to put up soon so people can see what this can lead to.
Well just figured it out, have to go under the Custom Styles and then find Image Position and change it to Image Only. Just in case I was not the only one with this problem, but On to the next :P
Petey,
Did you accomplish the spacing between the buttons using the fixed width / fixed height settings in the style, or through the script?
I can duplicate the look of it, using the style, but wanted to follow along with how you had done it.







It has been a while since I did it, but you can achieve that look either way.