Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: pjrm1470 on September 18, 2013, 01:27:01 PM

Title: NGUI not Working... [SOLVED]
Post by: pjrm1470 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.
Title: Re: NGUI not Working...
Post by: Mayhem 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 :)
Title: Re: NGUI not Working...
Post by: pjrm1470 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