Skip to main content

133. Unity3d Tutorial - GUI Stylings

See video

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.

Tags:

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Apr 8 2011

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?

Offline
Joined: May 25 2011

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.

Offline
Joined: May 25 2011

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

StephanLome's picture
Offline
Joined: Sep 23 2011

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.

-StephanLome

Petey's picture
Offline
Joined: Feb 3 2010

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