Welcome,
Guest
. Please
login
or
register
.
April 19, 2026, 10:22:55 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Assigning the slider value to a variable.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Assigning the slider value to a variable. (Read 2452 times)
shcool
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 5
Assigning the slider value to a variable.
«
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.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Assigning the slider value to a variable.
«
Reply #1 on:
July 26, 2014, 12:20:38 AM »
float
yourValue
=
GetComponent
<
UISlider
>
(
)
.
value
;
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Assigning the slider value to a variable.