Scripting API

InputBindingCompositeContext

struct in UnityEngine.InputSystem · Unity.InputSystem

4 of 6 of Unity's members
In Tassix

A composite's view of its parts, by the numbers its fields were given.

Methods 4

float EvaluateMagnitude(int partNumber)

The part's actuation: its most actuated control's.

double GetPressTime(int partNumber)
TValue ReadValue<TValue>(int partNumber)
TValue ReadValue<TValue>(int partNumber, out InputControl? sourceControl)

The part's value: of its controls, the most actuated.

bool ReadValueAsButton(int partNumber)

Whether any of the part's controls is pressed (past the press point).

Not in Tassix yet 2

ReadValueAsObject controls