Method SetControllerVibration
SetControllerVibration(float, float, ControllerType)
Make specific controller vibrate at the set frequency and amplitude
public static void SetControllerVibration(float frequency, float amplitude, ControllerType controllerMask = ControllerType.Active)
Parameters
frequency
floatVibration frequency
amplitude
floatVibration amplitude
controllerMask
ControllerTypeTarget controller
SetControllerVibration(float, float, float, ControllerType)
Make specific controller vibrate at the set frequency and amplitude
public static void SetControllerVibration(float frequency, float amplitude, float duration, ControllerType controllerMask = ControllerType.Active)
Parameters
frequency
floatVibration frequency
amplitude
floatVibration amplitude
duration
floatVibration duration
controllerMask
ControllerTypeTarget controller