Method Update
Update(float, ref AxisBase)
Update the axis
Declaration
public bool Update(float deltaTime, ref AxisBase axis)
Parameters
Type | Name | Description |
---|---|---|
float | deltaTime | current deltaTime |
AxisBase | axis | The AxisState to update |
Returns
Type | Description |
---|---|
bool | True if the axis value changed due to user input, false otherwise |
Update(float, ref AxisState)
Support for legacy AxisState struct: update the axis
Declaration
public bool Update(float deltaTime, ref AxisState axis)
Parameters
Type | Name | Description |
---|---|---|
float | deltaTime | current deltaTime |
AxisState | axis | The AxisState to update |
Returns
Type | Description |
---|---|
bool | True if the axis value changed due to user input, false otherwise |