playMaker

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

pjrm1470

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
NGUI not Working... [SOLVED]
« on: September 18, 2013, 10:27:01 AM »
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, 06:33:19 PM by Alex Chouls »

Mayhem

  • Full Member
  • ***
  • Posts: 171
    • View Profile
Re: NGUI not Working...
« Reply #1 on: September 18, 2013, 10:31:37 AM »
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
    • View Profile
Re: NGUI not Working...
« Reply #2 on: September 18, 2013, 11:22:13 AM »
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