Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Petr

Pages: [1]
1
NGUI 3 Support / ScrollView receive Centering event when become active
« on: March 31, 2014, 09:53:37 AM »
I have  UIScrollView with WrapContent and CenterOnChild attached in my interface( for changing players weapons, its a list of weapon images).
I have chat button.
when I press Chat button, UIPanel which contains ScrollView  becomes inactive.
If I make swipes in chat mode at ANY place of screen, and close chat mode (UIPanel, UIScrollView, ... becomes active again), UICenterOnChild.onFinished fires, and players weapon changed.
How should I fix this?
Thank you!

Pages: [1]