/// /// ZWN /// 20211224 /// using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 通用手势 /// 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; } } }