playMaker

Author Topic: Unity 5 UI Text (in stead of Gui Text)[SOLVED]  (Read 2362 times)

Nikolasio

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
Unity 5 UI Text (in stead of Gui Text)[SOLVED]
« on: June 23, 2016, 04:28:14 AM »
Hi,

I'm using Untiy 5.3.5f1 and want to show a UI Text (!!!Test!!!) with a delay a 2sec (from the GameManager an event is sent wit a delay of 2sec.).
I get the message 'UI Target is not an valid UI Component' in the inspector and when I press Play the UI Text is displayed and after 2sec is disappears, the opposite of the test. I added a screenshot in attachment.
I followed the setup from Pawel (the same question was already posted about 2 years ago): http://hutonggames.com/playmakerforum/index.php?topic=9075.0;prev_next=prev#new.
But I think it's still relevant.  Can anybody tell me what I'm doing wrong?
Thank's
Nikola
« Last Edit: February 24, 2017, 01:38:00 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4968
    • View Profile
    • jinxtergames
Re: Unity 5 UI Text (in stead of Gui Text)
« Reply #1 on: June 23, 2016, 12:20:38 PM »
Hi,
You should use the ugui actions, if you don't have them yet you should get them from the Ecosystem.
You need to get the Ugui Proxy Full.

When you have done that you can look for the action "ugui text set text".

Nikolasio

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
Re: Unity 5 UI Text (in stead of Gui Text)
« Reply #2 on: June 24, 2016, 12:39:55 AM »
Hi Dino,

Thank you very much.  It works!

As I'm new to Playmaker, do you perhaps know why there's a little grey square (see screenshot) in the middle of game pane when I press play?

Cheers
Nikola
 

Nikolasio

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
Re: Unity 5 UI Text (in stead of Gui Text)
« Reply #3 on: June 28, 2016, 08:55:54 AM »
The little grey square occurred in the game pane because I manually imported a prefab with a Playmaker U Gui Scene Proxy Script. there's in no need for that because Playmaker automatically imports a GUI script.

Question(s) solved.