Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on December 08, 2014, 09:31:00 AM

Title: PLaymaker and Ngui
Post by: nabilfx 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?
Title: Re: PLaymaker and Ngui
Post by: jeanfabre 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
Title: Re: PLaymaker and Ngui
Post by: nabilfx 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.
Title: Re: PLaymaker and Ngui
Post by: nabilfx 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?
Title: Re: PLaymaker and Ngui
Post by: jeanfabre 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