//Interrupt the vibration public void Cancel() { #if UNITY_EDITOR Debug.Log("VibratorController.Cancel called"); #elif UNITY_ANDROID AndroidPlugin.CancelVibrator(); #endif }