NGUI: Next-Gen UI kit
3.7.2
|
This simple example script is used in Tutorial 5 to show how custom events work. More...
Public Member Functions | |
void | SetDurationToCurrentProgress () |
This function is called by the duration slider. Since it's called by a slider, UIProgressBar.current will contain the caller. It's identical to other NGUI components. A button's callback will set UIButton.current, for example. Input field? UIInput.current, etc. More... | |
This simple example script is used in Tutorial 5 to show how custom events work.
void Tutorial5.SetDurationToCurrentProgress | ( | ) |
This function is called by the duration slider. Since it's called by a slider, UIProgressBar.current will contain the caller. It's identical to other NGUI components. A button's callback will set UIButton.current, for example. Input field? UIInput.current, etc.