本文介绍了纹理/模式识别/ INT匹配团结?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开发一个游戏中,用户绘制与他/她的手指在屏幕上的形状。现在我有一些predefined形状,已经与我的纹理形式。我需要做的是检测与他/她在屏幕上的手指做什么形状的用户。例用户在屏幕上绘制一个箭头,然后与predefined形状,我想知道,如果他/她一个箭头的比较。现在我需要建议/建议的方式,我应该去用

I going to develop a game in which user draws a shape on the screen with his/her finger. Now I have some predefined shapes in form of textures already with me. What i need to do is to Detect what shape user made with his/her finger on the screen. For Example user draws an arrow on the screen, then on comparison with predefined shapes i want to know if he/she drawn an arrow. Now i need advises/suggestions the way i should go with

1)在屏幕上绘制的形状? (可能与行渲染器,跟踪渲染器或?)

1) Draw a shape on screen? (Possibly with line renderer, Trail Renderer Or?)

2)检测他/她吸引哪些形状? (任何解决方案团结或插件是)

2) Detect which shape he/she drawn? (any solution being in unity or Plugin)

任何建议都大大AP preciated。

Any Suggestions are greatly appreciated.

推荐答案

如果你愿意为它付出的的从资产存储库包似乎有你需要什么,加上可能会派上用场的附加功能。我没有用它个人,但它似乎有很好的评价。

If you are willing to pay for it, the FingerGestures package from the Asset Store seems to have what you need, plus additional features that may come in handy. I haven't used it personally, but it seems to have good reviews.

这篇关于纹理/模式识别/ INT匹配团结?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 12:31