playMaker

Author Topic: u GUI Text Set Text[SOLVED]  (Read 3810 times)

krane

  • Junior Playmaker
  • **
  • Posts: 63
u GUI Text Set Text[SOLVED]
« 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.

?
« Last Edit: February 08, 2017, 02:42:33 PM by jeanfabre »

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Re: u GUI Text Set Text
« Reply #1 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.

krane

  • Junior Playmaker
  • **
  • Posts: 63
Re: u GUI Text Set Text
« Reply #2 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. :(

krane

  • Junior Playmaker
  • **
  • Posts: 63
Re: u GUI Text Set Text
« Reply #3 on: February 08, 2017, 09:57:51 AM »
Never mind. I forgot the "get owner" at the start. Thanks for your help!

rudydiaz19@yahoo.com

  • Playmaker Newbie
  • *
  • Posts: 1
Re: u GUI Text Set Text[SOLVED]
« Reply #4 on: August 18, 2019, 06:23:57 PM »
I cant find action SetGuiText on latest version of playmaker

Thanks
Rudy
« Last Edit: August 18, 2019, 06:25:57 PM by rudydiaz19@yahoo.com »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: u GUI Text Set Text[SOLVED]
« Reply #5 on: August 19, 2019, 02:25:29 AM »
Hi.

 it's UiTextSetText

bye,

 Jean