Class UnityInputActionInvoker.MethodCall
A single method to call on a target script when an action fires.
The method must be public, instance-level and parameterless.
Inherited Members
Namespace: Serenity.InputGateway.Infrastructure.Components
Assembly: Serenity.UnityPlayerInput.Infrastructure.dll
Syntax
public class UnityInputActionInvoker.MethodCall
Constructors
MethodCall()
Declaration
public MethodCall()
Fields
methodName
Declaration
public string methodName
Field Value
| Type | Description |
|---|---|
| string | The name of the parameterless public method to invoke on target. |
target
Declaration
public Component target
Field Value
| Type | Description |
|---|---|
| Component | The script (Component) instance whose method will be invoked. |