Method | Description | |
---|---|---|
ToggleButton ( string text1, string text2, string text3, System.Action callback = null, bool active = true ) : System |
Creates a new instance of the animation button
|
public ToggleButton ( string text1, string text2, string text3, System.Action callback = null, bool active = true ) : System | ||
text1 | string | the text to set when not pressed yet |
text2 | string | the text to set when pressed once |
text3 | string | the text to set when pressed twice |
callback | System.Action | action to call when the animation is complete |
active | bool | |
return | System |