Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Pawel on August 23, 2013, 11:17:24 AM

Title: GUI slider questions
Post by: Pawel on August 23, 2013, 11:17:24 AM
I see that GUI slider Thumb Style & Slider style use string as variables, but what do they do? How do you use Styles?

I'd like to replace the track and the thumb visuals on slider -- How do I go about it?
Title: Re: GUI slider questions
Post by: Alex Chouls on August 23, 2013, 01:16:21 PM
The styles parameters are named styles in a GUI Skin.

You can make your own GUISkin in the Unity editor:
http://docs.unity3d.com/Documentation/Components/class-GUISkin.html

Then set the skin in Playmaker using Set GUI Skin

Then specify named styles to use in any of the GUI actions.
Title: Re: GUI slider questions
Post by: Pawel on August 24, 2013, 08:14:52 AM
Thanks Alex. This was a big help! Some of the Unity inner workings are so counter intuitive...  :-\