Polarith AI
1.8

◆ UpdateConfig()

virtual void UpdateConfig ( )
virtual

Updates the list of Agents if AutoObtainChildren is enabled, updates the Formation.Size if AutoObtainSize is enabled, recomputes the assignments, and updates the behaviours of the agents with the new assignments.

Remember to call this method only ONCE if you update any parameter of the assigned agents that affect the representation of the formation (e.g., iterate over the assigned agents, change FormationBox.AgentsPerLine, and call this method afterwards once).

Imprint