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