Méthode | Description | |
---|---|---|
IsButtonPressed ( GamepadButtons button ) : bool |
Returns whether a specified key is currently being pressed.
|
|
SetVibration ( float leftMotor, float rightMotor ) : void |
Sets vibration
|
Méthode | Description | |
---|---|---|
Gamepad ( |
|
public IsButtonPressed ( GamepadButtons button ) : bool | ||
button | GamepadButtons | |
Résultat | bool |
public SetVibration ( float leftMotor, float rightMotor ) : void | ||
leftMotor | float | |
rightMotor | float | |
Résultat | void |