Button - LiruJ/GuiCookie GitHub Wiki
The Button controller is the base class for elements that should act as a button.
protected, OnCreated()
This is used to handle mouse functionality with the button, and will throw an exception if not found.
A Signal that is invoked when the button is left clicked, forwarded from the button's MouseHandler component.
A Signal that is invoked when the button is right clicked, forwarded from the button's MouseHandler component.
public, void
Connects the given action to the LeftClicked signal.
public, void
Connects the given action to the RightClicked signal.