Class BridgeSettings
Settings that govern how the Input module's bridge layer dispatches input queries when multiple IScyllaInputBridge implementations are registered. Applied to the IInputBridgeManager during module initialization.
Inherited Members
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
[Serializable]
public class BridgeSettings
Remarks
A bridge abstracts a concrete input provider (e.g., the Unity Input System, or a custom gamepad driver). When only one bridge exists, the query mode has no effect. The mode and conflict-resolution strategy become important when multiple bridges are active simultaneously - for example, mixing a native touch bridge with the standard Unity Input System bridge.
Fields
DefaultBridgePriority
Priority assigned to a bridge when it is registered without an explicit priority
value. Higher values indicate higher priority. Valid range: 1-1000.
Defaults to 100, leaving headroom for both lower- and higher-priority
bridge registrations.
Declaration
[Tooltip("The default priority assigned to newly registered input bridges. Bridges with higher priority values take precedence during conflict resolution. Override this per-bridge for fine-grained control over input source ordering.")]
[Range(1, 1000)]
public int DefaultBridgePriority
Field Value
| Type | Description |
|---|---|
| int |
DefaultConflictResolution
Determines how the bridge manager resolves disagreements when multiple bridges report different values for the same input control. See InputConflictResolution for a description of each strategy. Defaults to HighestPriority, which always uses the value from the highest-priority bridge.
Declaration
[Tooltip("Determines how conflicts are resolved when multiple bridges provide competing input values for the same action. Controls which bridge's value takes precedence based on priority, timing, or other criteria.")]
public InputConflictResolution DefaultConflictResolution
Field Value
| Type | Description |
|---|---|
| InputConflictResolution |
DefaultQueryMode
Determines how input is queried across registered bridges when more than one bridge is active. See InputBridgeQueryMode for a description of each mode. Defaults to SingleBridge, which queries only the highest-priority bridge and best matches single-bridge scenarios.
Declaration
[Tooltip("Determines how the input system queries multiple registered bridges for input values. Controls whether the first responding bridge wins or all bridges are polled and their results combined.")]
public InputBridgeQueryMode DefaultQueryMode
Field Value
| Type | Description |
|---|---|
| InputBridgeQueryMode |