Author Topic: Use a GameObject to control UI Elements instead of Mouse ?  (Read 3931 times)

DoFuchs

  • Guest
Use a GameObject to control UI Elements instead of Mouse ?
« on: June 27, 2013, 01:19:37 PM »
Im using a little custom Cursor that is driven by the Kinect.
But unfortunately the most common Events are triggered by the Mouse.
Is there a workaround to map those events to a Custom Game Object via Collision detection?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Use a GameObject to control UI Elements instead of Mouse ?
« Reply #1 on: June 27, 2013, 02:00:31 PM »
Game object? No. But you can create custom events. Look at UICamera.onCustomInput.

DoFuchs

  • Guest
Re: Use a GameObject to control UI Elements instead of Mouse ?
« Reply #2 on: June 27, 2013, 02:39:21 PM »
I will give it a try. Thanks!