Author Topic: UIPanel.LateUpdate()  (Read 5693 times)

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
UIPanel.LateUpdate()
« on: January 22, 2013, 12:23:29 PM »
Hi there, In our scene we have 9 panels all for there own part of the menu. When we open the profiler we are getting 20% usage by UIPanel.LateUpdate(), How can we reduce this as we are building for the iphone?

johnessy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 29
    • View Profile
Re: UIPanel.LateUpdate()
« Reply #1 on: January 22, 2013, 12:24:29 PM »
Our build crashes but only after adding NGUI?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPanel.LateUpdate()
« Reply #2 on: January 22, 2013, 09:03:07 PM »
Turn off stripping. Stripping causes crashes as far as I know.

The less stuff you have changing (color / position tweens, rotations, etc), the better will be the performance. Isolating changing things in their own panels will also improve performance. Search this forum, there are many threads on how to improve performance.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UIPanel.LateUpdate()
« Reply #3 on: January 23, 2013, 03:36:32 AM »
You can strip assemblies, but I don't think you can deeper than that.