Skip to content
View Categories

FAQ

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

 // create territory with one cell
Territory territory = tgs.TerritoryCreate(cellIndex);

Check demo scene 26 for examples on creating / destroying territories from code.


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.
Back To Top
Mostrar formularion