InvokeMethod

Call a method or field.

InvokeMethod

Properties

Property NameDescription
Event Entries List of registered events.
If necessary, you can add an event type by clicking the "Add New Event Type" button.
Field NameDescription
Trigger Type State event trigger type
On State Awake
Call an event at OnStateAwake
On State Begin
Call an event at OnStateBegin
On State Update
Call an event at OnStateUpdate
On State Late Update
Call an event at OnStateLateUpdate
On State End
Call an event at OnStateLateUpdate
Callback Setting of members to call

Remarks

Since the call is made via reflection, stripping can cause the called member to be removed from the build.
See Unity - Manual: Managed code stripping for more information.