Méthode | Description | |
---|---|---|
BasicRumble ( float t, float lS, float rS ) : void |
Rumble the controller with the following parameters
|
|
RumbleBursts ( int bursts, float lS, float rS ) : void |
This function allows for bursts of Vibration
|
Méthode | Description | |
---|---|---|
RumbleAfterDelay ( float delay, float t, float lS, float rS ) : IEnumerator |
Coroutine made to have short rumbles over time.
|
|
Update ( ) : void |
Controls the vibration of the player one controller. When the above variables update it will rumble accordingly.
|
|
VibrateForJoystickType ( Joystick, joystick, float lS, float rS ) : void |
Execute the correct vibration method for the type of joystick
|
public BasicRumble ( float t, float lS, float rS ) : void | ||
t | float | How long with the rumble last |
lS | float | The left strength of the rumble |
rS | float | the right strength of the rumble. |
Résultat | void |
public RumbleBursts ( int bursts, float lS, float rS ) : void | ||
bursts | int | |
lS | float | |
rS | float | |
Résultat | void |