Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: krane on February 08, 2017, 09:06:26 AM

Title: u GUI Text Set Text[SOLVED]
Post 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.

?
Title: Re: u GUI Text Set Text
Post by: elusiven on February 08, 2017, 09:21:42 AM
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.
Title: Re: u GUI Text Set Text
Post by: krane on February 08, 2017, 09:49:39 AM
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. :(
Title: Re: u GUI Text Set Text
Post by: krane on February 08, 2017, 09:57:51 AM
Never mind. I forgot the "get owner" at the start. Thanks for your help!
Title: Re: u GUI Text Set Text[SOLVED]
Post by: rudydiaz19@yahoo.com on August 18, 2019, 06:23:57 PM
I cant find action SetGuiText on latest version of playmaker

Thanks
Rudy
Title: Re: u GUI Text Set Text[SOLVED]
Post by: jeanfabre on August 19, 2019, 02:25:29 AM
Hi.

 it's UiTextSetText

bye,

 Jean