Class UnityPlayerInputRoutingSettings
Unity ScriptableObject implementation for player input routing configuration settings.
Defines comprehensive input routing behavior including device handling, UI interaction modes, session management, and policy enforcement.
Serves as the central configuration point for the Unity Player Input system routing architecture.
Namespace: Serenity.InputGateway.Infrastructure.Settings
Assembly: Serenity.UnityPlayerInput.Infrastructure.dll
Syntax
public class UnityPlayerInputRoutingSettings : ScriptableObject, IPlayerInputRoutingSettings, IFoundationSettings
Constructors
UnityPlayerInputRoutingSettings()
Declaration
public UnityPlayerInputRoutingSettings()
Fields
Guid
Declaration
public string Guid
Field Value
| Type | Description |
|---|---|
| string | Global unique identifier for this settings instance. |
Id
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| string | Unique identifier for this settings instance. |
deviceFilter
Declaration
public UnityPlayerInputDeviceFilterSettings deviceFilter
Field Value
| Type | Description |
|---|---|
| UnityPlayerInputDeviceFilterSettings | Gets or sets the device filtering settings. |
gameSessionMode
Declaration
public GameSessionMode gameSessionMode
Field Value
| Type | Description |
|---|---|
| GameSessionMode | Gets or sets the current game session mode. |
joinGate
Declaration
public UnityPlayerInputJoinGateSettings joinGate
Field Value
| Type | Description |
|---|---|
| UnityPlayerInputJoinGateSettings | Gets or sets the join gate settings. |
localJoin
Declaration
public PlayerInputJoinBehavior localJoin
Field Value
| Type | Description |
|---|---|
| PlayerInputJoinBehavior | Gets or sets the local player join behavior. |
menuMode
Declaration
public PlayerInputUiInteractionMode menuMode
Field Value
| Type | Description |
|---|---|
| PlayerInputUiInteractionMode | Gets or sets the UI interaction mode for menu navigation. |
splitKeyboardAndMouse
Declaration
public bool splitKeyboardAndMouse
Field Value
| Type | Description |
|---|---|
| bool | Gets or sets whether keyboard and mouse should be treated as separate input devices. |
Properties
Filter
Declaration
public IPlayerInputDeviceFilterSettings Filter { get; }
Property Value
| Type | Description |
|---|---|
| IPlayerInputDeviceFilterSettings | Gets the device filtering settings as a domain interface. |
GameSessionMode
Declaration
public GameSessionMode GameSessionMode { get; }
Property Value
| Type | Description |
|---|---|
| GameSessionMode | Gets the current game session mode. |
Gate
Declaration
public IPlayerInputJoinGateSettings Gate { get; }
Property Value
| Type | Description |
|---|---|
| IPlayerInputJoinGateSettings | Gets the join gate settings as a domain interface. |
LocalJoin
Declaration
public PlayerInputJoinBehavior LocalJoin { get; }
Property Value
| Type | Description |
|---|---|
| PlayerInputJoinBehavior | Gets the local player join behavior. |
MenuMode
Declaration
public PlayerInputUiInteractionMode MenuMode { get; }
Property Value
| Type | Description |
|---|---|
| PlayerInputUiInteractionMode | Gets the UI interaction mode for menu navigation. |
SplitKeyboardAndMouse
Declaration
public bool SplitKeyboardAndMouse { get; }
Property Value
| Type | Description |
|---|---|
| bool | Gets whether keyboard and mouse should be treated as separate input devices. |