NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Tutorial5 Class Reference

This simple example script is used in Tutorial 5 to show how custom events work. More...

Inheritance diagram for Tutorial5:

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...
 

Detailed Description

This simple example script is used in Tutorial 5 to show how custom events work.

Member Function Documentation

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.


The documentation for this class was generated from the following file: