Author Topic: Suitable NGUI scale  (Read 2522 times)

fanling3

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 29
    • View Profile
Suitable NGUI scale
« on: June 25, 2014, 11:19:35 PM »
I have objects with scale around 1-10, so I use orthographic camera with size 100. At a result, I need to use FixedSize UIRoot with Manual Height 12 to display UILabel with FontSize 50. Or I use Manual Height 128 UIRoot to display FontSize 500 UILabel.

I feel pretty strange with this and would like to ask if there is anything wrong. Thanks for advice

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Suitable NGUI scale
« Reply #1 on: June 26, 2014, 11:05:38 AM »
You don't need to use a UIRoot at all in this case. UIRoot is a convenience script meant for adjusting the size of a pixel-perfect UI. In your case, your UI isn't pixel perfect, and you are not even using the fixed size the way it was meant to be used. Just get rid of UIRoot altogether.