Author Topic: Why ngui object's size become 20 times bigger than original?  (Read 6349 times)

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
Why ngui object's size become 20 times bigger than original?
« on: October 29, 2014, 03:57:07 AM »
I made one my game's scene with ngui objects, now has card's container, cards, button, etc.

And I purchased [Tile based map and nav] from asset store, and imported to above project.

Then,

Though I haven't touched at all of my ngui object's size,

but all of ngui object's size become at will much bigger like 20~30 times than original size.

Why this happen and how to fix?

Thanks.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Why ngui object's size become 20 times bigger than original?
« Reply #1 on: October 29, 2014, 05:26:34 AM »
I have no idea what that asset does, but check the cameras. There must be only one camera that draws the UI, and that camera's orthographic size must be 1.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Why ngui object's size become 20 times bigger than original?
« Reply #2 on: October 29, 2014, 07:02:39 AM »
Check if the localScale is being messed with by the new asset, and check the orthographic size on the cameras. It ought to be 1.