playMaker

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

DeepShader

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
How to detect which Unity UI element was touched?
« on: May 11, 2015, 10:18:06 PM »
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? :)