LeanTouch is an input library that makes handling gestures (e.g. Pinch, Twist) incredibly easy across all devices and resolutions. The original asset is here
-
Clone this repo and use it as a base for your new project
-
Install
npm
andyarn
-
Update
package.json
to includeLean Touch
like so"LeanTouch": "ssh://github.com/minhhh/LeanTouch.git#v1.3.1"
-
Run
npm run unity
and wait for it to install all necessary packages
To open this project on its own, run rm -fr node_modules && DIR=
pwd yarn install --flat --verbose
to install devDependencies
as well.
1.3.1
- Initial commit