Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: shcool on July 25, 2014, 05:15:49 AM

Title: Assigning the slider value to a variable.
Post by: shcool on July 25, 2014, 05:15:49 AM
I want to assign the value of my slider to my float, how would I do that?

Sorry, but I'm one day N00b with ngui.
Title: Re: Assigning the slider value to a variable.
Post by: ArenMook on July 26, 2014, 12:20:38 AM
  1. float yourValue = GetComponent<UISlider>().value;