Handler for button related events More...
Public Member Functions | |
void | Initialize (CoherentUIMenu owner) |
Initializes the Handler delegate in the Start method. If you want to set a different delegate, you can set it from another component in the Awake method. More... | |
void | Invoke () |
Invokes the handler More... | |
delegate void | Invoker () |
Delegate signature for the event handler More... | |
Public Attributes | |
Object | Target |
Target GameObject or MonoBehavior for the event. None if using the current GameObject. More... | |
string | Method |
Method (or message) name to be called for the event More... | |
bool | IsMessage = true |
Whether Method specifies a method or a message to be called More... | |
Invoker | Handler |
The delegate that is executed when the event of this handler is triggered More... | |
Handler for button related events
|
inline |
Initializes the Handler delegate in the Start method. If you want to set a different delegate, you can set it from another component in the Awake method.
owner | the menu that owns our button |
|
inline |
Invokes the handler
delegate void Coherent.UI.ButtonHandler.Invoker | ( | ) |
Delegate signature for the event handler
Invoker Coherent.UI.ButtonHandler.Handler |
The delegate that is executed when the event of this handler is triggered
bool Coherent.UI.ButtonHandler.IsMessage = true |
Whether Method specifies a method or a message to be called
string Coherent.UI.ButtonHandler.Method |
Method (or message) name to be called for the event
Object Coherent.UI.ButtonHandler.Target |
Target GameObject or MonoBehavior for the event. None if using the current GameObject.