An axis that has a trigger point beyond which it is considered to be pressed.
Inheritance
System.Object
ButtonControl
public class ButtonControl : AxisControl
Constructors
Declaration
Fields
Declaration
Field Value
| Type |
Description |
| System.Single |
|
Properties
Declaration
public bool isPressed { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public float pressPointOrDefault { get; }
Property Value
| Type |
Description |
| System.Single |
|
Declaration
public bool wasPressedThisFrame { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool wasReleasedThisFrame { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Declaration
public bool IsValueConsideredPressed(float value)
Parameters
| Type |
Name |
Description |
| System.Single |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
Extension Methods