removeAllGoals() Removes all goals from the behavior. Declarationfunc removeAllGoals() See AlsoManaging a Behavior’s Set of GoalssetWeight(_:for:)weight(for:)remove(_:)goalCount