Function AgentNeighbourLookup.GetNeighbours

GetNeighbours (int agentIndex)

Read-only span with all agent indices that a given agent took into account during its last simulation step.

Public
UnsafeSpan<int> GetNeighbours (

int

agentIndex

)

Read-only span with all agent indices that a given agent took into account during its last simulation step.