logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiInputRouterFactoryInput

    Input parameters for creating/configuring an IPlayerInputUiInputRouter.

    Inheritance
    object
    UiInputRouterFactoryInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.InputGateway.Domain.Interfaces.Components.Factories
    Assembly: Serenity.InputGateway.Application.dll
    Syntax
    public class UiInputRouterFactoryInput

    Constructors

    UiInputRouterFactoryInput(object, IPlayerInputRoutingSettings, ILogService)

    Initializes a new instance of the UiInputRouterFactoryInput class with the specified parameters.

    Declaration
    public UiInputRouterFactoryInput(object uiPlayerInputHandle, IPlayerInputRoutingSettings routingSettings, ILogService logService)
    Parameters
    Type Name Description
    object uiPlayerInputHandle

    The handle to the UI player input system (e.g., a PlayerInput component in Unity).

    IPlayerInputRoutingSettings routingSettings

    Settings for routing UI input to player input handlers.

    ILogService logService

    The logging service for diagnostic output.

    Properties

    LogService

    The logging service for diagnostic output.

    Declaration
    public ILogService LogService { get; set; }
    Property Value
    Type Description
    ILogService

    The ILogService instance for logging.

    RoutingSettings

    Settings for routing UI input to player input handlers.

    Declaration
    public IPlayerInputRoutingSettings RoutingSettings { get; set; }
    Property Value
    Type Description
    IPlayerInputRoutingSettings

    An object representing the routing settings.

    UiPlayerInputHandle

    The handle to the UI player input system (e.g., a PlayerInput component in Unity).

    Declaration
    public object UiPlayerInputHandle { get; set; }
    Property Value
    Type Description
    object

    An object representing the UI player input handle.

    Methods

    EnsureValid()

    Ensures that the input parameters are valid.

    Declaration
    public void EnsureValid()
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if any required parameter is null.

    In this article
    © 2026 Serenity. All Rights Reserved