Skip to content

lazycoder71/LazyCoder.Haptic

Repository files navigation

Made With Unity License Last Commit Repo Size Last Release

Overview

Native plugin for Unity for iOS and Android. Use custom vibrations on mobile.

Reference:

Installation

  1. Open the Package Manager from Window > Package Manager.
  2. Click the "+" button > Add package from git URL.
  3. Enter the following URL:
https://github.com/lazycoder71/LazyCoder.Haptic.git

Use

Initialization

Initialize the plugin with this line before using vibrations:

Haptic.Init();

Vibrations

Just call Haptic.Vibrate(HapticType type);

Enable/Disable

Set Haptic.Enable to true or false.

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published