Unity 2.9.3 触摸手势识别插件:Fingers介绍

需积分: 16 8 下载量 162 浏览量 更新于2024-10-03 收藏 5.17MB ZIP 举报
资源摘要信息:"Fingers - Touch Gestures for Unity 2.9.3 是一个为Unity游戏引擎设计的触摸手势处理库,专门用于Unity 2.9.3版本。该库的目的是简化触摸输入事件的处理,它允许开发人员更容易地实现和管理各种触摸手势,例如轻触、滑动、双指缩放和平移等,以提高用户界面的互动性和响应性。该工具包通常包含预设的手势识别器,以及相关的API和示例场景,帮助开发者快速集成触摸手势功能到他们的项目中。 在这个版本中,Fingers提供了对多种复杂手势的识别支持,这使得在开发需要这些功能的应用程序时更加便捷。例如,游戏开发者可以使用该工具包轻松添加捏合缩放功能来放大或缩小地图,或是在多点触控游戏场景中使用双指旋转。此外,该工具包也支持通过脚本来自定义和扩展手势,允许更深层次的控制和优化。 Unity是目前广泛使用的跨平台游戏开发引擎,其2.9.3版本继续沿袭了Unity易用性强和功能强大的特点。为了适应日益增长的移动设备市场,Unity对触摸输入的支持至关重要。然而,对于复杂的触摸手势,基础的Unity API可能不够直观或功能有限,这就是Fingers - Touch Gestures for Unity 2.9.3的用武之地。 Fingers库使用了一种事件驱动的方式来处理手势事件,这意味着开发人员可以轻松地监听手势事件并根据需要做出响应。对于那些对性能有严格要求的项目,Fingers还设计得足够高效,不会对运行时的性能造成显著影响。 该资源包可能包含的文件有: - Fingers - Touch Gestures for Unity 2.9.3.unitypackage: 这是核心的资源包文件,包含了所有的Fingers库脚本、预制件、示例场景以及配置文件。安装后,开发人员可以将这些资源导入到自己的Unity项目中,并开始使用Fingers提供的功能。 为了充分利用Fingers - Touch Gestures for Unity 2.9.3,开发者需要具备一定的Unity使用经验,了解基本的Unity脚本编写以及C#编程语言。同时,了解基本的触摸手势概念和应用也对使用该库有帮助。开发者可以通过查阅Unity官方文档以及Fingers的用户指南和API参考来获取更多关于如何在项目中集成和使用Fingers的信息。 综上所述,Fingers - Touch Gestures for Unity 2.9.3为Unity游戏开发人员提供了一个强大且高效的工具,以实现高质量的多点触控手势支持,从而增强游戏的用户体验。"
2018-05-25 上传
Fingers is your one stop choice for all gesture handling in Unity (and other C# platforms as Fingers has no Unity specific code). Fingers has been tested and runs great on MAC, Windows, iOS and Android. Full C# source code and shader code is provided! No other asset matches Fingers Gestures on price and feature set. Fingers - Touch Gesture for Unity has been featured in multiple Unity promotions and tutorial videos, showing the high quality and full feature set and value proposition. With Fingers, you get all the common touch gestures you are used to built in. This includes: tap, double tap, long tap, pan, rotate, scale and swipe gestures. In addition, creating your own custom gestures is simple and easy. I've recently began adding on-screen controls. Right now a joystick and dpad are included with more controls planned for the future. Adding gestures in the inspector has never been easier. Simply add from the component menu and configure your gesture. Set the callback to your script and you are done! Pan/rotate/scale and drag and drop is simple. Built in scripts for these scenarios, with demo scenes are provided. I've also added image recognition gestures. With a few minutes of tweaking, you can recognize shapes like circles, lightning bolts, check marks and the letter X. Previewing gestures in the player is easy, even without a touch screen. Just use the shift and control key plus mouse wheel to simulate pinch and rotate gestures, along with each button to simulate a different finger. Fingers has a similar architecture to UIGestureRecognizer from iOS, but is built using all C# code and will easily run on any platform that has a mouse or touch screen. Gestures are restricted to most UI elements by default, but this is easily configured if you want the gestures to pass through additional UI elements. This asset works great with the default Unity UI and Event System. Gestures can be executed simultaneously or exclusively (the default). In addition