Method SetFrameState
SetFrameState(bool)
Sets the interaction state for this frame. This method should only be called once per frame.
Declaration
public void SetFrameState(bool isActive)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isActive | Whether the state is active (in other words, pressed). |
SetFrameState(bool, float)
Sets the interaction state for this frame. This method should only be called once per frame.
Declaration
public void SetFrameState(bool isActive, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isActive | Whether the state is active (in other words, pressed). |
| float | newValue | The interaction value. |