| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /// <summary>
- /// ZWN
- ///通用手势测试
- /// 20220216
- /// </summary>
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class CurrencyTest : MonoBehaviour {
- public Text text1;
- public Text text2;
- public Text text3;
- public Text text4;
- public Text text5;
- private int num1 = 0;
- private int num2 = 0;
- private int num3 = 0;
- private int num4 = 0;
- private int num5 = 0;
- // Use this for initialization
- void Start () {
-
- }
-
- // Update is called once per frame
- void Update ()
- {
- if (CurrencyActionManager.GetArmCross)
- {
- text1.text = "GetArmCross " + num1++;
- }
- text2.text = "GetRightLateralRaisee " + CurrencyActionManager.GetLeftHandPoseDetect.ToString();
- text3.text = "GetLeftHandPoseDetect " + CurrencyActionManager.GetRighthandPoseDetect.ToString();
- if (CurrencyActionManager.GetLeftHandsUp)
- {
- text4.text = "GetLeftHandsUp " + num4++;
- CurrencyActionManager.GetLeftHandsUp = false;
- }
- if (CurrencyActionManager.GetRightHandsUp)
- {
- text5.text = "GetRightHandsUp " + num5++;
- CurrencyActionManager.GetRightHandsUp = false;
- }
- }
- }
|