Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: krane on February 08, 2017, 09:06:26 AM
-
Hello
I can't get U Gui Text set Text to work. If I drop a uGui component proxy script onto a Canvas text object, I'm told UI Target is not a valid UI component.
?
-
You don't need to place proxy on every component. Just make sure Playmaker UGui prefab is in your scene and that you have all the actions for UGui downloaded.
Then all you have to do with set text action is to get the game object that has the UI Text component on, and put your string variable or plain text in and that's it.
-
Thanks, but I can't get it to work. I'm using a text object that persists in my gui across scenes.
Scene 1 (loader) holds my Gui text (u gui, prefab in scene.) with a don't destroy on load.
scene 2: on pick object, GUI should update: but it doesn't. It persists fine. I've tried set property, set gui text, and u gui set text. I'm still really having trouble with persistent data. :(
-
Never mind. I forgot the "get owner" at the start. Thanks for your help!
-
I cant find action SetGuiText on latest version of playmaker
Thanks
Rudy
-
Hi.
it's UiTextSetText
bye,
Jean