Author Topic: Playmaker u Gui Pointer Event issue[SOLVED]  (Read 1433 times)


  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Playmaker u Gui Pointer Event issue[SOLVED]
« on: October 10, 2016, 04:11:34 PM »

I've been trying to implement transparency culling for usage with uGui to use non-square shapes. (I've been using the method found here ).

But once activated On Pointer no longer resolves properly. It can no longer detect correctly entering a UI element. Any chance for a fix to use non-square uGui elements?

« Last Edit: October 11, 2016, 02:18:46 AM by jeanfabre »


  • Administrator
  • Hero Member
  • *****
  • Posts: 15377
  • Official Playmaker Support
    • View Profile
Re: Playmaker u Gui Pointer Event issue
« Reply #1 on: October 11, 2016, 02:18:20 AM »

 Good question, but tricky case :)

 This is a feature, not a bug and is handled by Unity itself. These actions only use the Unity api, so what it returns isn't something we can do anything about.

so basically, clicks only happen with colliders, if you have a complex shape, you'll need to either get the pixel under the click, check for it's alpha and forward only if not fully transparent, or add a mesh collider defining the clickable area.