playMaker

Author Topic: How to detect which Unity UI element was touched?  (Read 1576 times)

DeepShader

  • Playmaker Newbie
  • *
  • Posts: 33
How to detect which Unity UI element was touched?
« on: May 12, 2015, 01:18:06 AM »
Hi there,
who can I detect on which element of my UI the user touched? I want to build a dynamic menu with a dynamic count of images in a slider which can swipe by the user and I need to know which image is in front of the menu, if the user touches a button.

First I tried via raycast which don't seems to work with Unity UI - so is there another trick? :)