Author Topic: Understanding dimensions in scene vs game view  (Read 1482 times)

delzhand

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 6
    • View Profile
Understanding dimensions in scene vs game view
« on: April 12, 2014, 12:27:14 PM »
I have my UIRoot set to FixedSize with a manual height of 720.  When I click on it in scene view, it shows me the dimensions 720x1281 (seems like it should be 1280 but that's less important).



Yet when I position ui components using advanced anchors to align them to the screen edges, they don't appear where I'd expect in scene view, and it makes it very hard to lay things out.



And yet, when I start the game, the game screen does display them in the correct place.



Is there something I need to configure differently?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Understanding dimensions in scene vs game view
« Reply #1 on: April 13, 2014, 12:47:21 AM »
Happens when your game view is hidden.

When the game view is hidden it's not possible to determine its size properly. Don't hide it behind your scene view.