Beispiel #1
0
 private void Awake()
 {
     if (handBone == null)
     {
         handBone = GetComponent <HandBoneDot>();
     }
 }
Beispiel #2
0
 void Start()
 {
     handBone = GetComponent <HandBoneDot>();
     if (handBone == null)
     {
         return;
     }
     HandSignNum = 0;
     for (int i = 0; i < handBone._fingerDots.Count; i++)
     {
         if (handBone._fingerDots[i].dot > FingerBendThrethold[i])
         {
             HandSignNum += (int)Mathf.Pow(2, i);
         }
     }
     UpdateSignInit();
 }
Beispiel #3
0
    private void Initialize()
    {
        handBone = GetComponent <HandBoneDot>();

        _isInitialized = true;
    }