NumberCounter - LiruJ/GuiCookie GitHub Wiki
The NumberCounter controller binds together two buttons, a label, and stores an integer value. The buttons are used to increment and decrement the integer value, and the label is used to display the current value of the integer.
In order of retrieval:
ITextable, OnFullSetup(), "Label"
This is used to display the current value.
Button, OnFullSetup(), "IncrementButton"
This is used to increment the value.
Button, OnFullSetup(), "DecrementButton"
This is used to decrement the value.
int
Gets or sets the value of the counter, automatically updating the label.
Is fired when the value is changed. Note that the value has to actually change for this signal to fire.