Author Topic: Is scaling up everything after removing UIRoot is ok?  (Read 1980 times)

Sahkan

  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
Is scaling up everything after removing UIRoot is ok?
« on: April 25, 2016, 10:33:43 AM »
I'v removed the UIRoot component from it's object ( which is a parent for all the other objects in the game ) since I'm not using ngui's sprites anymore.
However, I'm using widgets and UICamera for events.
Other than that, everything else are meshes.
The reason I'v removed the UIRoot component is that it's dynamic scale is messing up unity's particles.
Is it a good Idea to scale the main object to 1 instead of it's current scale? ( something like 0.0018 ).
Will it mess up the UICamera and UIWidget events? ( OnClick, OnHover etc.. ).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is scaling up everything after removing UIRoot is ok?
« Reply #1 on: April 25, 2016, 01:05:55 PM »
UIRoot is completely optional even if you do use NGUI's sprites. So yes, you can certainly rescale its object as you see fit.

Sahkan

  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
Re: Is scaling up everything after removing UIRoot is ok?
« Reply #2 on: April 26, 2016, 12:24:49 AM »
UIRoot is completely optional even if you do use NGUI's sprites. So yes, you can certainly rescale its object as you see fit.

Thanks.
It seems like it works fine besides minor adjustments like the UIScrollView that need to have it's ScrollWheelFactor changed.
I guess it will only occur with some scripts that are world's position depended.