InvokeMethod

Call a method or field.

InvokeMethod

Properties

Property Name Description
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 TypeState 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
CallbackSetting 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.