How to change duration of vibration on Android(Unity3D)?
For example:
public void Jump()
{
if (grounded)
{
rb2d.velocity = new Vector2(rb2d.velocity.x, jumpPower);
Handheld.Vibrate();
}
}
This code makes a vibration in one second long.