Author Topic: Strange Buttons behaviors (Only work if have RigidBodyies)  (Read 1419 times)

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
Strange Buttons behaviors (Only work if have RigidBodyies)
« on: August 22, 2014, 09:05:50 AM »
Hello guys!

I've just update NGUI to the lastest (3.7.0) version, and in one test I've noticed something, and I want to know if this is right:

My Hierarchy is something like this:
This is all under the UI Layer.
 - UI Panel
    - UI Panel /  Scrollview
        - UI Grid
             - 2D Sprite Element
             - 2D Sprite Element
             - 2D Sprite Element
             - 2D Sprite Element

But I can't drag this the itens, because the camera never reach this, without put a rigid body on each one.
This does not sound right.

My camera setings are: 3D Worls, All event masks. Culling Mask only UI.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Strange Buttons behaviors (Only work if have RigidBodyies)
« Reply #1 on: August 23, 2014, 03:09:41 AM »
Events go to rigidbodies in 370 if the mode is 3D World. I've changed it to use smarter logic in 371.

3D World = just that, your 3D world.

3D UI = what you should have been using.