i understand GUIskin but not GUIstyle.
Where can i see some example script with this?
I want to create custom buttons, that is it.
I checked out this movie file but screen size it is too small to see it.
They are quite simple to work with. Simply define it as you would any other variable you expose for the inspector.
- var myButtonStyle : GUIStyle;
Change the attributes as you wish for you new button in the inspector, then reference that style for your button in code where applicable.
sorry for my stupid question but how to you define the placement of the button than?
Defining the placement of a button isn't quite connected to a GUIStyle definition. If you're looking for information at that basic of a level then check out the following video.Originally Posted by lesfundisorry for my stupid question but how to you define the placement of the button than?
Then move on to the documentation.
I found this thread helpful but the first video link in the above post is outdated and was not easy to track down. Here it is for anyone else looking for it: