Method AddAgentGroupBehaviour
AddAgentGroupBehaviour(RideID, IRideBehaviour)
Adds the behaviour to the group. Does not remove previous behaviours
Declaration
public RideID AddAgentGroupBehaviour(RideID group, IRideBehaviour behaviour)
Parameters
Type | Name | Description |
---|---|---|
RideID | group | The group |
IRideBehaviour | behaviour | the behaviour |
Returns
Type | Description |
---|---|
RideID | The behaviour |