public static void changeFingerIDX(Leap.Unity.Chirality chirality, int fingerIDX, Color color) { PolyHand hand = right; if (chirality == Chirality.Left) { hand = left; } FingerModel finger = hand.fingers[fingerIDX]; finger.GetComponent <MeshRenderer>().materials[0].color = color; }