CheckSpineError() private static method

private static CheckSpineError ( BipedReferences references, bool log ) : bool
references BipedReferences
log bool
return bool
Ejemplo n.º 1
0
 public static bool CheckSetupError(BipedReferences references, bool log)
 {
     if (!references.isValid)
     {
         if (log)
         {
             Warning.Log("BipedReferences contains one or more missing Transforms.", references.root, true);
         }
         return(false);
     }
     return(BipedReferences.CheckLimbError(references.leftThigh, references.leftCalf, references.leftFoot, log) && BipedReferences.CheckLimbError(references.rightThigh, references.rightCalf, references.rightFoot, log) && BipedReferences.CheckLimbError(references.leftUpperArm, references.leftForearm, references.leftHand, log) && BipedReferences.CheckLimbError(references.rightUpperArm, references.rightForearm, references.rightHand, log) && BipedReferences.CheckSpineError(references, log) && BipedReferences.CheckEyesError(references, log));
 }