Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: IIKII on December 14, 2019, 04:14:46 AM

Title: trigger UI gameobject[SOLVED]
Post by: IIKII on December 14, 2019, 04:14:46 AM
Hi, how do I let a 2d box collider in my scene to trigger event a UI gameobject?

I am using a drag drop on the UI object and wanting the 2d box collider to trigger by the UI object when I drop it.
Title: Re: trigger UI gameobject
Post by: djaydino on December 14, 2019, 04:44:30 AM
Hi.
Maybe Mouse Pick can be used.
But you might need to temporary turn off 'raycast target' on the ui that you are dragging.
You can do this wit 'Ui Canvas Group Set Properties'
Title: Re: trigger UI gameobject
Post by: IIKII on December 17, 2019, 08:49:51 AM
Hi.
Maybe Mouse Pick can be used.
But you might need to temporary turn off 'raycast target' on the ui that you are dragging.
You can do this wit 'Ui Canvas Group Set Properties'

Yes Mouse pick works, thanks :)