Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: nelsonn on November 14, 2013, 04:42:49 AM
-
Hey guys,
I'm working on a very simply HUD at the moment. One of my GUI Layout labels has a background image. The texture for this is stored in a variable of the type Texture.
It's supposed to be kind of a health bar that changes images based on the player's health.
Is there a way I can change that Texture variable during runtime and thus automatically update my GUI Layout label?
-
Hi,
yes, simply reference the texture in a FsmTexture and change that fsmTexture content, it will be then taken in account automatically.
bye,
Jean
-
Cheers, that helped :D