FingerGestures是一个Unity中简化鼠标手势操作的扩展,它能很方便的监听到Unity中的各种手势事件:
1、上下左右四方向的滑动事件
2、按下,抬起,移动,连击,长按事件等等
它同时支持触摸屏操作和鼠标操作,支持多点触摸事件,总之使用起来很方便,共享出来给大家:
非常实用的鼠标手势扩展FingerGestures 2.3b,做游戏必备
本地下载:
这是FingerGestures插件的readme.txt文件 ============================================================================= FingerGestures v2.2 (November 15th 2011)
A robust input gesture library at your fingertips! 一个在您指尖的强大的手势输入库! FatalFrog Software
http://www.fatalfrog.com
=============================================================================
FingerGesture is a script package that lets you easily detect and react to
common input gestures performed with either a mouse or a touch screen device. FingerGesture是一个脚本包插件,它让您可以轻松地检测和响应在鼠标或触摸屏设备常见的手势输入。 For more information and detailed instructions, please visit the official
FingerGestures page at http://www.fatalfrog.com/?page_id=140.
=====================
Sample Scenes Setup 示例场景的设置 =====================
Due to technical limitations, the package doesn't include any build settings which means the scenes list is not configured by default.
In order to use the sample browser, you must set this up manually: 由于技术上的限制,这个包没有包括任何的生成设置。这意味这些场景列表在默认情况下是没有被配置好。
为了使用这个示例浏览器,你必须手动设置它: 1. Open your project's build settings via File > Build Settings. 打开的“项目生成设置”通过,File > Build Settings 2. Locate the various scene files in the package's FingerGestures\Samples\Scenes folders 在这个插件包中的FingerGestures\Samples\Scenes目录文件夹下,找到各种场景的场景文件 3. Drag & drop all the scenes files you find to the Build Settings window's "Scenes in Build" list 然后施放你能找到的所有场景文件到,“Build Settings”窗口中的“Scenes in Build”列表框中。 4. Ensure that the "Start" scene is the first item in the list 注:确保“Start”这个场景文件,要处于列表的第一项。 5. Make a standalone or web-browser build and run it to try out the sample browser 可以选择生成一个单机的或Web浏览器的版本,并运行和试验这个救命浏览器。 ===================== Contact & Support
=====================
Feel free to send me feedbacks or questions at spk@fatalfrog.com. I will do my best to answer them as quickly as possible.
You can also visit my website at http://www.fatalfrog.com.
Thank you for using FingerGestures!
William Ravaine
|