EventReference Methods
The EventReference type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetEventComponent |
Gets the MonoBehaviour component that contains the event method.
|
|
GetEventMethod |
Gets the name of the method to be invoked for the event.
|
|
GetEventTarget |
Gets the target GameObject for the event.
|
|
IsEditorVisible |
Determines whether the event reference is visible in the editor.
|
|
SetEditorVisible |
Sets the visibility of the event reference in the editor.
|
|
SetEventComponent |
Sets the MonoBehaviour component that contains the event method.
|
|
SetEventMethod |
Sets the name of the method to be invoked for the event.
|
|
SetEventTarget |
Sets the target GameObject for the event.
|