Mobile Effects - Maxodie/BattriKeepel2 GitHub Wiki

Mobile Effects


You can make a vibration

//MobileEffectVibration an enum of the vibration length (SMALL, MEDIUM, BIG)
MobileEffect.VibrationEffect(MobileEffectVibration type);

You can turn on the phone flashlight for a moment

MobileEffect.SetOnFlashlight(bool state, float durationS);