bool HandModelIsValid(Transform wrist) { for (int i = 0; i < wrist.childCount; i++) { if (!BasicHelpers.IsCleanBranch(wrist.GetChild(i))) { return(false); } } return(true); }
bool HandModelIsValid(Transform wristOffset) { // Only wristOffset can have >1 children for (int i = 0; i < wristOffset.childCount; i++) { if (!BasicHelpers.IsCleanBranch(wristOffset.GetChild(i))) { return(false); } } return(true); }