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);
When enabling the Grid Editor option in the inspector, I can't select any cell in the grid
Make sure Gizmos are enabled in the Scene View.
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.