Interface CreateInputTickHandlerOptionsGroup<GroupID>

interface CreateInputTickHandlerOptionsGroup<GroupID> {
    id: GroupID;
    inputCollectionID: string;
}

Type Parameters

  • GroupID

Properties

ID to differentiate inputs from the same overarching GroupID

Example

// Group 1
id: XDirection.Left,
// Group 2
id: XDirection.Right,

// Both are under the XDirection umbrella, however they are in different directions so they have different logic for animations and movement.
inputCollectionID: string