Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: AlexeyTsoy on July 11, 2015, 03:03:36 PM

Title: Scroll View (interaction)
Post by: AlexeyTsoy on July 11, 2015, 03:03:36 PM
Hello! I have 5 different weapons via scroll view i want to select one of weapons! I can attach to each weapons button script and interact to indicate type of weapon! but I want to do it just scrolls and when necessary weapon in center of window type of weapon will indicate automatically! Something similar to it https://www.youtube.com/watch?v=C5SmzaG1Y9c


sorry for my english
Title: Re: Scroll View (interaction)
Post by: AlexeyTsoy on July 12, 2015, 04:30:17 AM
I have bought a license
Title: Re: Scroll View (interaction)
Post by: ArenMook on July 12, 2015, 08:00:58 PM
UICenterOnChild can be used to center the scroll view on a specific object. You can also use same logic as in UICenterOnClick to do the same thing.