playMaker

Author Topic: PLaymaker and Ngui  (Read 2146 times)

nabilfx

  • Full Member
  • ***
  • Posts: 186
PLaymaker and Ngui
« on: December 08, 2014, 09:31:00 AM »
When I add playmaker object touch button event, actor to Ngui, the touch button does not work, how can i fix that?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PLaymaker and Ngui
« Reply #1 on: December 08, 2014, 11:48:54 AM »
Hi,

Can you explain what action you are using for this? Ngui has its own mouse and touch input system. I think you are getting confused here.

Have you tried this package?

https://hutonggames.fogbugz.com/default.asp?W1111

 Bye,

 JEan

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: PLaymaker and Ngui
« Reply #2 on: December 08, 2014, 11:54:33 AM »
Im using a cube with a Touch Object Event, them Ngui to set the  Screen size automatic, in any Cellphone screen, Thats why im using both.

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: PLaymaker and Ngui
« Reply #3 on: December 08, 2014, 04:31:45 PM »
If i use a Gui button works fine, but the (Touch Object Event)  does not work, any help please?

Im using a cube as a button with the (Touch Object Event).

Im using layer 9 in unity. This could be a Raycast problem?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PLaymaker and Ngui
« Reply #4 on: December 09, 2014, 12:23:34 AM »
Hi,

 likely yes, ngui is on a special layer ( GUI ) and also use a special camera ( inside the GUI GameObject, so you should raycast from that camera for sure.

Bye,

 Jean