Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Mr-Brett on May 24, 2013, 08:01:39 AM

Title: Changing Gui Skin/style with a String
Post by: Mr-Brett on May 24, 2013, 08:01:39 AM
As the title says, I'm trying to change what skin/style my GUI uses with a string.
The reason is that I want to swap it when the build is for a mobile device and I couldn't find a way of changing values in the skin itself on the fly.

So I have a global string that I put the name of the skin in, and I'm feeding this into the GUI layouts but it's not working.

Is it possible? if not, any other ideas?

I tried setting up a check and setting the GUIskin through an fsm and ticking global but that either didn't work or would take about 5-10 seconds to come into affect, for unknown reasons.

Thanks
Title: Re: Changing Gui Skin/style with a String
Post by: Mr-Brett on May 24, 2013, 09:31:08 AM
It seems that I got my terms muddled, Skins and Styles are not the same thing...