skip to Main Content
How do I add a new Territory through code?
To create a new Territory through code and a cell to it:

Territory territory = new Territory("new territory");
tgs.territories.Add(territory);
int newTerritoryIndex = tgs.territories.Add(territory);
tgs.CellSetTerritory(cellIndex, newTerritoryIndex);


I have a question which is not covered in the guide...
Please use the Support Forum and post your question there. Our team will get back to you shortly.
Back To Top