Author Topic: Trying to click on GameObject in scene to show menu  (Read 2534 times)

sti4thewin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Trying to click on GameObject in scene to show menu
« on: March 30, 2014, 02:50:03 AM »
I'm trying to click on a cube with a box collider by OnClick and having it show a panel upon click. Is it a problem that I'm using a 2D UI?

I tried to add a button scale on hover for the GameObject but it doesn't register as well.

sti4thewin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Trying to click on GameObject in scene to show menu
« Reply #1 on: March 30, 2014, 02:57:18 AM »
NVM I got it to work by adding an event listener (UICamera) to main camera.