Welcome,
Guest
. Please
login
or
register
.
February 17, 2025, 01:22:17 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISlider with more than 11 steps?
« previous
next »
Print
Pages: [
1
]
Author
Topic: UISlider with more than 11 steps? (Read 4081 times)
Josh
Guest
UISlider with more than 11 steps?
«
on:
July 08, 2012, 08:52:12 AM »
Hi!
Just a short question, is it possible to have a slider with more than 11 steps?
«
Last Edit: July 08, 2012, 11:47:57 AM by Josh
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UISlider with more than 11 steps?
«
Reply #1 on:
July 08, 2012, 06:10:53 PM »
If you modify it, sure.
Logged
ENAY
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 248
Re: UISlider with more than 11 steps?
«
Reply #2 on:
July 08, 2012, 09:57:44 PM »
How do you modify it though? Do you mean in code?
This is indeed something I came across. The slider only seems to allow a maximum step of 0.1 if you try setting it in the editor.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UISlider with more than 11 steps?
«
Reply #3 on:
July 08, 2012, 10:28:29 PM »
Line 61 of UISliderInspector.cs.
Also, setting it via code doesn't cap it. Only the tool does, for convenience.
Logged
Josh
Guest
Re: UISlider with more than 11 steps?
«
Reply #4 on:
July 09, 2012, 02:18:57 AM »
thx, that will help
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISlider with more than 11 steps?