Author Topic: Ideal multi Anchor Hierarchy  (Read 3287 times)

mtompson

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Ideal multi Anchor Hierarchy
« on: February 24, 2013, 08:45:44 AM »
Hi
Just looking at NGUI for the first time today, very nice so far! I have a question on using multiple Anchors. When you create a new UI, it makes a:

UI Root (2D)
---Camera
------Anchor
---------Panel

If I want lots of Anchors, would I make them children of the Camera, then give each of them it's own Panel?

So:

UI Root (2D)
---Camera
------Anchor
---------Panel

------Anchor
---------Panel

------Anchor
---------Panel

This does work fine, I just wandered if I need multiple panels, or a completely different hierarchy?

many thanks...

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Ideal multi Anchor Hierarchy
« Reply #1 on: February 24, 2013, 09:06:55 AM »
Multiple panels is fine.

mtompson

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Ideal multi Anchor Hierarchy
« Reply #2 on: February 24, 2013, 01:18:17 PM »
Thanks Nicki  :)