playMaker

Author Topic: NGUI Buttons  (Read 1929 times)

failtruck

  • Playmaker Newbie
  • *
  • Posts: 6
NGUI Buttons
« on: April 11, 2013, 06:07:11 AM »
hi,

Im just testing how some basic NGUI functions operate with Playmaker, but I cant get a simple button to work.  Ive set up a basic button in ngui, and added a MousePickEvent action to the button root.  All this does (or should do) is on a mouseDown go the the next state, but it doesnt seem to detect the mouseDown.  Am I making some sort of fundemental error here?

Cheers

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI Buttons
« Reply #1 on: April 12, 2013, 03:04:17 AM »
Hi,

 you should use specific ngui custom action for this:


http://hutonggames.com/playmakerforum/index.php?topic=1356.msg15245#msg15245

bye,

Jean