示例#1
0
    private void DisplayDragConstraints()
    {
        if (hullConstraintParent != null)
        {
            List <Vector3> points = TestAlgorithmsHelpMethods.GetPointsFromParent(hullConstraintParent);

            TestAlgorithmsHelpMethods.DisplayConnectedPoints(points, Color.white, true);
        }

        if (holeConstraintParents != null)
        {
            foreach (Transform holeParent in holeConstraintParents)
            {
                List <Vector3> points = TestAlgorithmsHelpMethods.GetPointsFromParent(holeParent);

                TestAlgorithmsHelpMethods.DisplayConnectedPoints(points, Color.white, true);
            }
        }
    }