ControllerGetButtonChanged Method |
Returns true if the button has changed state from the previous frame to the current.
This does not take into acount any controller mapping or Actions -- this is the unmapped physical button value only.
Use the Player class to get button values mapped to Actions.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic virtual bool GetButtonChanged(
int index
)
Parameters
- index Int32
- Button index
Return Value
BooleanButton changed state
See Also