Welcome,
Guest
. Please
login
or
register
.
May 01, 2026, 01:14:19 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[resolved]setLocalPosition cost huge time
« previous
next »
Print
Pages: [
1
]
Author
Topic: [resolved]setLocalPosition cost huge time (Read 2692 times)
saviola_zs
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
[resolved]setLocalPosition cost huge time
«
on:
November 06, 2014, 08:41:24 PM »
I profile the NGUI code, but found a strange thing, I post it at unity forum
http://forum.unity3d.com/threads/set-local-position-unity-cost-huge-time.278509/#post-1837960
«
Last Edit: November 06, 2014, 10:13:34 PM by saviola_zs
»
Logged
saviola_zs
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: setLocalPosition cost huge time
«
Reply #1 on:
November 06, 2014, 09:57:43 PM »
I found it relate to the scrollView's child, more children more cost!
Logged
saviola_zs
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: setLocalPosition cost huge time
«
Reply #2 on:
November 06, 2014, 10:04:42 PM »
I found the reason, it relate to the boxCollider
Logged
saviola_zs
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: [resolved]setLocalPosition cost huge time
«
Reply #3 on:
November 06, 2014, 10:15:17 PM »
So deactive all boxCollider when dragging scroll view improved great performance
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[resolved]setLocalPosition cost huge time