Class ConfigActionEntry
Represents one action entry in the InputRebindManager data model, containing the action's metadata and one ConfigBindingEntry per configured scheme group.
Inherited Members
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public class ConfigActionEntry
Remarks
For actions with directional composites (e.g., 2DVector), a separate ConfigActionEntry is created for each composite part (Up, Down, Left, Right), with the DisplayName reflecting the part (e.g., "Move Up").
For modifier composites (e.g., ButtonWithOneModifier), the entry represents the entire composite and the binding display text combines modifier and button (e.g., "Shift + A").
Properties
ActionID
Gets the Unity Input System action name.
Declaration
public string ActionID { get; }
Property Value
| Type | Description |
|---|---|
| string |
Bindings
Gets the list of binding entries, one per configured ConfigSchemeGroup, in the same order as the scheme groups passed to Initialize(params ConfigSchemeGroup[]).
Declaration
public IReadOnlyList<ConfigBindingEntry> Bindings { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ConfigBindingEntry> |
CompositePartName
Gets the composite part name for directional composite entries
(e.g., "up", "down", "left", "right"), or null for non-composite entries.
Declaration
public string CompositePartName { get; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Gets the human-readable display name for this entry. For directional composite parts, this includes the part name (e.g., "Move Up").
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsDirectionalComposite
Gets a value indicating whether this entry represents a part of a directional composite (e.g., 2DVector Up/Down/Left/Right).
Declaration
public bool IsDirectionalComposite { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsModifierComposite
Gets a value indicating whether this action uses modifier composites (e.g., ButtonWithOneModifier, ButtonWithTwoModifiers).
Declaration
public bool IsModifierComposite { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MapID
Gets the name of the parent action map containing this action.
Declaration
public string MapID { get; }
Property Value
| Type | Description |
|---|---|
| string |
ModifierDepth
Gets the modifier depth of the action, used for modifier disambiguation. Actions with different modifier depths sharing the same trigger key do not conflict.
Declaration
public int ModifierDepth { get; }
Property Value
| Type | Description |
|---|---|
| int |
PrimaryBindingIndex
Gets the flat Unity binding index for this entry. For simple actions this is the
primary binding index. For composite parts this is the first matching binding index.
Returns -1 if no binding exists.
Declaration
public int PrimaryBindingIndex { get; }
Property Value
| Type | Description |
|---|---|
| int |