public static void VisitConstraint(this IConstraint constraint, ref int totalCount, ref int deletedCount, ref int specificCount, GameObject obj)
        {
            totalCount++;

            if (specificCount++ > AdvancedSafetySettings.MaxConstraints)
            {
                Object.DestroyImmediate(constraint.Cast <Behaviour>(), true);
                deletedCount++;
            }
        }