Method SwarmElements
SwarmElements(params ElementID[])
Prepares the helper to swarm a series of elements. Call ToAgent(int) on the result to do the actual swarming.
public ITargetlessSwarmingHelper SwarmElements(params ElementID[] elements)
Parameters
elements
ElementID[]Element ID references
Returns
- ITargetlessSwarmingHelper
An ITargetlessSwarmingHelper object on which you can call ToAgent(int).