| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /// <summary>
- /// ZWN
- /// 20211224
- /// </summary>
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /// <summary>
- /// 通用手势
- /// </summary>
- public static class CurrencyActionManager
- {
- //左举手
- private static bool leftHandsUp = false;
- public static bool GetLeftHandsUp
- {
- get { return leftHandsUp; }
- set { leftHandsUp = value; }
- }
- //右举手
- private static bool rightHandsUp = false;
- public static bool GetRightHandsUp
- {
- get { return rightHandsUp; }
- set { rightHandsUp = value; }
- }
- //双手交叉
- private static bool armCross = false;
- public static bool GetArmCross
- {
- get { return armCross; }
- set { armCross = value; }
- }
- //左手静态动作
- private static HandPoseEnum lefthandPoseDetect;
- public static HandPoseEnum GetLeftHandPoseDetect
- {
- get { return lefthandPoseDetect; }
- set { lefthandPoseDetect = value; }
- }
- //右手静态动作
- private static HandPoseEnum righthandPoseDetect;
- public static HandPoseEnum GetRighthandPoseDetect
- {
- get { return righthandPoseDetect; }
- set { righthandPoseDetect = value; }
- }
- }
|