Author Topic: Quick question regarding editor camera  (Read 2363 times)

staggerlee

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Quick question regarding editor camera
« on: March 18, 2014, 12:12:34 AM »
Hey all, just bought NGUI but am having problems with the tutorials.
When i go create -> 3d UI or 2d UI my camera does not center on my purple rectangle like in the tutorial.
I find it hard to place the prefabs as they just go anywhere they please in terms of depth, and its very hard to alligh things when your not looking straight on.
Obviously this is not intended and im an idiot, so- how do i make the camera go into "UI edit" mode.

in the video i noticed that the camera style that is normally ISO or perp is changed to back. I have switched between iso and perp many times.

Thanks!

staggerlee

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Quick question regarding editor camera
« Reply #1 on: March 18, 2014, 12:31:30 AM »
Just noticed Gameobject - > align with view/ with selected view.
It has not helped me however as prefabs and buttons still float around all over the shop. Am i on the right track?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Quick question regarding editor camera
« Reply #2 on: March 18, 2014, 03:18:49 PM »
When working with NGUI it's best to use the 2D mode. Then Z is not an issue. All NGUI hierarchies are created at (0, 0, 0). Switch to the 2D mode, select the UIRoot and press "F" to focus on the object -- it's basic Unity functionality.