Author Topic: Unresponsive UI, Correct Physics settings, where next?  (Read 4288 times)

andrew2110

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Unresponsive UI, Correct Physics settings, where next?
« on: June 09, 2014, 08:02:02 AM »
I'm getting started trying to use NGUI in my projects, have watched the video tutorials (which are really nice btw), but when I drag and drop some of the example GUI prefabs into my scene, they are unresponsive to the mouse - invisible to the camera (which is running in debug mode).

I checked the FAQ for this, and it mentions the physics raycast hit trigger setting, which was already set. But am curious as to what the next step in debugging this now is.

www.blueomega.me/StrangeNGUI.mov is a demo of me trying to click on some of these NGUI elements.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Unresponsive UI, Correct Physics settings, where next?
« Reply #1 on: June 09, 2014, 12:17:09 PM »
I notice that you are using a UI layer for the elements. Make sure your UICamera (I assume it's on the camera gameobject) is using an eventmask for that UI layer; see the setting on the component.

andrew2110

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: Unresponsive UI, Correct Physics settings, where next?
« Reply #2 on: June 10, 2014, 02:57:42 AM »
I started a new scene and played around with that yesterday which worked so I started rebuilding from there. Thank you for the advice though, if I come across the same problem again, that'll be the first thing I go to check :)