Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Cean on April 10, 2014, 06:59:32 AM

Title: Slide Automatic to start position?
Post by: Cean on April 10, 2014, 06:59:32 AM
I hav 1 UISlider an start position is centered. See picture.

When I push it up or down. I will Slider goes back to start position. (Smooth Slide to Center)

Cann someone write sample code.
Title: Re: Slide Automatic to start position?
Post by: Cean on April 11, 2014, 10:22:19 AM
nobody can help me?
Title: Re: Slide Automatic to start position?
Post by: ArenMook on April 12, 2014, 04:24:56 AM
This is a support forum for NGUI, not a scripting help forum. Write a script that modified the slider's value, springing it to 0.5 if the mouse button is not held.