UnitySteer
UnitySteer copied to clipboard
Add OnNeighborsChanged event to SteerForNeighborGroup2D
This is useful for adjusting other behaviours when neighbors change; I found that while aggregation of group behaviours is useful, sometimes you want to be able to change behaviours entirely depending on what's going on with the group, for example if you want to nominate one group leader which changes as groups form & split based on other factors.