playMaker

Author Topic: NGUI not Working... [SOLVED]  (Read 3018 times)

pjrm1470

  • Playmaker Newbie
  • *
  • Posts: 13
NGUI not Working... [SOLVED]
« on: September 18, 2013, 01:27:01 PM »
Hi... my problem is simple:
I created a NGUI Button and a FSM for him!
I don't know which transition Event i should set to detect the Mouse Down of the click on it, since i set it MOUSE DOWN and it do nothing though.

I read in some topics that i have to attach the script "UIEventsToPlayMakerFSM", but in the package there isn't this script.

So I ask you, how the playmaker works with NGUI if it doesn't detect its events!?

Best regards,
PJRM.
« Last Edit: September 18, 2013, 09:33:19 PM by Alex Chouls »

Mayhem

  • Full Member
  • ***
  • Posts: 171
Re: NGUI not Working...
« Reply #1 on: September 18, 2013, 01:31:37 PM »
You have to download the UIEventsToPlaymakerFSM-Script from this topic here:
http://hutonggames.com/playmakerforum/index.php?topic=1356.0

Attach the Script, create then the Transition you need (OnClick, OnPress and so on) and there you go :)

pjrm1470

  • Playmaker Newbie
  • *
  • Posts: 13
Re: NGUI not Working...
« Reply #2 on: September 18, 2013, 02:22:13 PM »
Thank you so much. that's useful. and what a simple script.
Looking at the date of the script and the features of the tool, it should be inside the package already.

anyway, thank you so much.
Topic Solved.

Best regards,
PJRM