Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        if (isStart)
        {
            wrist.Rotate();
            //SetRotation ();


            foreach (Finger f in index)
            {
                f.SetY(); f.Rotate();
            }
            foreach (Finger f in middle)
            {
                f.SetY(); f.Rotate();
            }
            foreach (Finger f in ring)
            {
                f.SetY(); f.Rotate();
            }
            foreach (Finger f in pinky)
            {
                f.SetY(); f.Rotate();
            }
            foreach (Finger f in thumb)
            {
                f.SetY(); f.Rotate();
            }
        }
    }