I have setup the Handheld.Vibrate function to vibrate the device every time the player jumps and hits the ground. But the default duration that it has is too long. Is there a way to make the duration shorter?
Here is how I have set it up.
if (collision.gameObject.tag.Equals(“Enemy”))
{
Handheld.Vibrate();
rb.AddForce(Vector3.up * jumpForce);
Debug.Log(“Hit”);
}
Thanks.