Created
May 16, 2019 14:23
-
-
Save Moe-Baker/e4b584036898405a0429538df2834f15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Scrollbar scrollbar; | |
void Start() | |
{ | |
scrollbar.onValueChanged.AddListener(onValueChanged); | |
} | |
void onValueChanged(float value) | |
{ | |
Debug.Log("New Value is " + value)! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment