private void OnApplicationQuit() { #if XBOX_ALLOWED XInputUtils.SetVibrationAll(0f); #endif InputMaster.SetBlockAll(false); }
private void OnApplicationPause(bool paused) { #if XBOX_ALLOWED if (XInputUtils.StopVibrateOnAppPause && paused == true) { XInputUtils.SetVibrationAll(0f); } #endif }
private void OnApplicationFocus(bool focused) { #if XBOX_ALLOWED if (XInputUtils.StopVibrateOnAppFocusLost && focused == false) { XInputUtils.SetVibrationAll(0f); } #endif }