Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

📳 Perform haptic feedback on both iOS and Android devices.

License

Notifications You must be signed in to change notification settings

CandyCoded/HapticFeedback

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HapticFeedback

📳 Perform haptic feedback on both iOS and Android devices.

npm

Installation

Unity Package Manager

https://docs.unity3d.com/Packages/com.unity.package-manager-ui@2.0/manual/index.html

Git

{
  "dependencies": {
    "xyz.candycoded.hapticfeedback": "https://github.com/CandyCoded/HapticFeedback.git#v1.0.3",
    ...
  }
}

Scoped UPM Registry

{
  "dependencies": {
    "xyz.candycoded.hapticfeedback": "1.0.3",
    ...
  },
  "scopedRegistries": [
    {
      "name": "candycoded",
      "url": "https://registry.npmjs.com",
      "scopes": ["xyz.candycoded"]
    }
  ]
}

Usage

First include the package.

using CandyCoded.HapticFeedback;

Light Feedback

HapticFeedback.LightFeedback();

Medium Feedback

HapticFeedback.MediumFeedback();

Heavy Feedback

HapticFeedback.HeavyFeedback();

About

📳 Perform haptic feedback on both iOS and Android devices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.