logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    UnityInputActionInvoker.MethodCall
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In this article
    © 2026 Serenity. All Rights Reserved