From f154e9862000bc39868a7e6b1a52434df0b3ac88 Mon Sep 17 00:00:00 2001
From: Han <1985708279@qq.com>
Date: Fri, 19 Dec 2025 11:57:12 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90m=E3=80=91=E6=89=8B=E5=8A=BF=E8=AF=86?=
=?UTF-8?q?=E5=88=AB=E6=B3=A8=E9=87=8A=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../RunTime/GestureRecognition/GestureBase.cs | 21 ++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/Assets/07.RKTools/RunTime/GestureRecognition/GestureBase.cs b/Assets/07.RKTools/RunTime/GestureRecognition/GestureBase.cs
index 4dc3bd8..dad41ce 100644
--- a/Assets/07.RKTools/RunTime/GestureRecognition/GestureBase.cs
+++ b/Assets/07.RKTools/RunTime/GestureRecognition/GestureBase.cs
@@ -48,7 +48,7 @@ namespace Stary.Evo.RKTools
GestureRightFail();
}
}
-
+
private void OnTrackedSuccess(HandType handType)
{
@@ -120,9 +120,28 @@ namespace Stary.Evo.RKTools
#region 需要被重写的方法
+ ///
+ /// 左手成功识别到手势不断执行操作
+ ///
+ /// 左手手势类型
+ /// 左手掌心朝向
public abstract void GestureLeftSuccess(GestureType gestureType, Vector3 handForward);
+
+ ///
+ /// 右手成功识别到手势不断执行操作
+ ///
+ /// 右手手势类型
+ /// 右手掌心朝向
public abstract void GestureRightSuccess(GestureType gestureType, Vector3 handForward);
+
+ ///
+ /// 左手未识别到手势执行操作
+ ///
public abstract void GestureLeftFail();
+
+ ///
+ /// 右手未识别到手势执行操作
+ ///
public abstract void GestureRightFail();
#endregion