Scripting API

ButtonControl

class in UnityEngine.InputSystem.Controls · Unity.InputSystem · inherits from AxisControl

7 of 8 of Unity's members
In Tassix

A button: pressed at its press point (0.5 unless set), with this frame's transitions.

Fields 1

float pressPoint

Properties 4

bool isPressed { get; }
float pressPointOrDefault { get; }
bool wasPressedThisFrame { get; }
bool wasReleasedThisFrame { get; }

Methods 1

bool IsValueConsideredPressed(float value)

Not in Tassix yet 1

CalculateOptimizedControlDataType