c# - UI Scrollbar Scroll Sensitivity For Mouse Wheel Scroll -


i trying adjust scrollbar scroll speed because slow. found on web. don't know how use it.

ui.scrollrect.scrollsensitivity 

i trying create text contains information (like what's new in unity 5.3? )

i think know problem, , hope solution it.

you trying set value of ui.scrollrect.scrollsensitivity without instance of scrollrect object.

to set sensitivity need instance of , set this:

public scrollrect scroll;  void start() {       scroll.scrollsensitivity = 27f; } 

also can set directly inpsector:

enter image description here


Comments

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -