找回密码
 立即注册
搜索

[编辑器/功能拓展] Fingers - Touch Gestures for Unity 3.0.8手指手势

[复制链接]
225 |0
发表于 2023-9-15 15:23:51 | 显示全部楼层 |阅读模式








New Input System Compatible
Fingers Gestures as of version 3.0.0 is fully compatible with the new Unity input system! See the readme.txt file for instructions.

#1 Gesture Asset
Fingers is your best choice for Unity touch input and gesture handling in Unity. Finger gestures is tops in feature set combined with low price and easy to use architecture and tutorial videos. Fingers works on all Unity platforms. If you've used native mobile Android or iOS gestures, you will be right at home with Fingers.

Example Projects
I am adding examples as I have time. I've started with a simple word game and will build on it and add more projects over time!

Rock Solid, Used by Thousands of Apps
Fingers - Touch Gestures for Unity has been featured in multiple Unity promotions and tutorial videos. Thousands of customers also agree, Fingers is the best asset for touch and gesture handling in Unity. Fingers is tried, true and battle tested.

Full Gesture Framework
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. Code is well commented with tons of demo scenes and tutorial videos.

Joystick and DPad
Fingers contains very robust and configurable on-screen controls including joystick and d-pad. The joystick has numerous options including dead zones, input curves, following the touch, etc. to fine tune the behavior. All on-screen controls can be configured with active and idle states.

Unity UI integration
Fingers works great with Unity UI and the event system. Blocking gestures over buttons or restricting gesture to UI elements or other game objects is easy. Collider2D masks can be setup to ensure gestures only start over certain parts of the screen.

Mobile Controls
Fingers contains on screen controls like d-pad and joystick, great for hand-held devices. First person and third person controllers are also built right in, just drop a prefab in and you are ready to go!

Virtual Touches
Easily inject your own touches from AR, VR or any other source using the simple virtual touch interface. Fingers can work with any environment or system.

Design Time Gestures - No Code!
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. CrossPlatformInputManager integration is available for the joystick and dpad controls.

Image / Shape Recognition
Fingers contains image recognition gestures. With a few minutes of tweaking, you can recognize shapes like circles, lightning bolts, check marks and the letter X. You can even bulk import as many png images as you want in one go to instantly create image recognition script for those images.

Zoom / Rotate Preview with the Mouse
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.

Built on Solid Design Patterns
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.

Simultaneous and Exclusive Gestures
Gestures can be executed simultaneously or exclusively (the default). In addition, gestures can require other gestures to fail (such as a tap requiring a double tap to fail).

Unit System
Fingers uses inches by default to measure distances for certain thresholds, but this can be changed via properties on the gestures.

Unity Remote
When using Fingers with Unity Remote, you may want to temporarily disable mouse handling via script property.

FREE VERSION
Not ready to buy? Try a free version here: https://assetstore.unity.com/packages/tools/input-management/fingers-lite-free-finger-touch-gestures-for-unity-64276

Apps using Fingers Gestures
- T3D Genesis
- Panda Addie Play & Learn
Here are some of the components / demos included in the paid version:
- Example projects! List includes simple word game template. More features and example projects to come in the future! - Tap, double tap, long tap, swipe, pinch/zoom, rotate, image recognition.
- Draw lines following the touch with bezier curve
- First person controller
- Third person controller
- 3D camera orbit
- 3D camera or object rotate / look around - think 1st person camera. - 3D camera movement, like map apps
- Orbit and place objects, placing/moving objects pauses the orbit.
- Place plane or object in AR/VR
- Canvas gestures
- Design time (no code) gestures
- D-pad
- Drag and drop Unity UI elements
- Drag and drop 2D objects
- Drag


新的输入系统兼容
3.0.0版本的手指手势与新的Unity输入系统完全兼容!有关说明,请参阅readme.txt文件。

#1手势资产
手指是Unity触摸输入和手势处理的最佳选择。手指手势是功能集的顶部,结合了低价格和易于使用的架构和教程视频。Fingers适用于所有Unity平台。如果你使用过原生手机Android或iOS手势,你就会很熟悉finger手势。

示例项目
由于时间有限,我正在添加一些例子。我从一个简单的文字游戏开始,并将在此基础上增加更多的项目!

rocksolid,被成千上万的应用程序使用
手指- Unity的触摸手势已经在多个Unity推广和教程视频中出现。成千上万的用户也同意,手指是Unity中触摸和手势处理的最佳资产。手指是经过考验的,真实的,经过战斗考验的。

全手势框架
通过“手指”,你可以获得所有常用的内置触摸手势。这包括:点击,双击,长点击,平移,旋转,缩放和滑动手势。此外,创建自己的自定义手势非常简单和容易。代码有大量的演示场景和教程视频。

操纵杆和DPad
手指包含非常强大和可配置的屏幕控制,包括操纵杆和方向键。操纵杆有许多选项,包括盲区,输入曲线,跟随触摸等,以微调行为。所有屏幕上的控件都可以配置为活动状态和空闲状态。

Unity UI集成
《Fingers》与Unity UI和事件系统配合得非常好。在按钮上阻止手势或将手势限制在UI元素或其他游戏对象上是很容易的。可以设置Collider2D蒙版,以确保手势只在屏幕的某些部分开始。

移动控制
手指包含屏幕上的控制,如方向键和操纵杆,非常适合手持设备。第一人称和第三人称控制器也是内置的,只要放一个预制件进去,你就准备好了!

虚拟触摸
轻松注入自己的触摸从AR, VR或使用简单的虚拟触摸界面的任何其他来源。手指可以在任何环境或系统下工作。

设计时手势-没有代码!
在检查器中添加手势从未如此简单。只需从组件菜单中添加并配置您的手势。设置回调到你的脚本,你就完成了!平移/旋转/缩放和拖放都很简单。为这些场景提供了内置脚本,并提供了演示场景。crossplatformminputmanager集成可用于操纵杆和dpad控制。

图像/形状识别
手指包含图像识别手势。只需几分钟的调整,您就可以识别圆形,闪电,复选标记和字母x等形状。您甚至可以批量导入尽可能多的png图像,以便立即为这些图像创建图像识别脚本。

缩放/旋转预览与鼠标
即使没有触摸屏,在播放器中预览手势也很容易。只需使用shift和control键加上鼠标滚轮来模拟捏和旋转手势,以及每个按钮来模拟不同的手指。

建立在坚实的设计模式上
Fingers的架构与iOS的UIGestureRecognizer类似,但它是用c#代码构建的,可以在任何有鼠标或触摸屏的平台上轻松运行。

同步和排他性手势
手势可以同时执行,也可以单独执行(默认)。此外,手势可以要求其他手势失败(例如需要双击才能失败的轻击)。

单元系统
手指默认使用英寸来测量特定阈值的距离,但这可以通过手势的属性来改变。

统一的远程
在Unity Remote中使用手指时,你可能想通过脚本属性暂时禁用鼠标处理。

使用手指手势的应用
- T3D创世纪
-熊猫Addie玩和学习
以下是付费版本中包含的一些组件/演示:
-示例项目!列表包括简单的文字游戏模板。将来会有更多的功能和示例项目!-点击,双击,长点击,滑动,捏/缩放,旋转,图像识别。
-用贝塞尔曲线沿着触点绘制线条
-第一人称控制器
-第三人称控制器
- 3D相机轨道
- 3D相机或对象旋转/环顾四周-认为第一人称相机。- 3D相机移动,像地图应用程序
-轨道和放置物体,放置/移动物体暂停轨道。
-在AR/VR中放置平面或物体
-画布手势
-设计时(无代码)手势
——方向键
-拖拽Unity UI元素
-拖放2D对象
- - - - - -拖




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门版块
热门帖子
1
2
畅想自由职业新境界
水煮鱼
2024-10-12
3
突破时空束缚的理想之选
水煮鱼
2024-10-12
4
放慢脚步享受 工作
水煮鱼
2024-10-12
5
职场混的不好来这里吧
水煮鱼
2024-10-11
6
人生无大事儿就是搞钱
水煮鱼
2024-10-10
快速回复 返回顶部 返回列表