Creates a behavior with the specified behaviors and weights.
- iOS 10.0+
- macOS 10.12+
- tvOS 10.0+
An array of behavior objects.
An array of numbers, each of which is the weight to be applied to the behavior at the corresponding index in the
A new behavior object. To assign a behavior to an agent, use the agent’s