Author Topic: UI change very big moment  (Read 3422 times)

shokinhan

  • Guest
UI change very big moment
« on: June 18, 2013, 09:32:39 AM »
When I open window first time, it will change very big one frame. Then the next frame it will change normal!!
Why ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UI change very big moment
« Reply #1 on: June 18, 2013, 12:09:55 PM »
I am not sure what you mean... A picture would help.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UI change very big moment
« Reply #2 on: June 18, 2013, 02:46:40 PM »
A guess would be that you are adjusting the size of UIRoot in an Update and because of execution order, it happens to be later than what's drawing the widgets, so the scale is only corrected the next frame. That's just a guess though.

shokinhan

  • Guest
Re: UI change very big moment
« Reply #3 on: June 19, 2013, 01:36:20 AM »
Localization
UICamera
OtherScript


This is my script order!!