Terrain Grid System 2 · Scripting Support (C#)
struct TGSConfigAttribPairstruct TGSConfigEntryTGSConfigAttribPair[] attribDataAttrib data.
bool canCrossIf this cell blocks path finding.
bool canCrossCan cross.
int cellIndexCell index.
int cellIndexCell index.
TGSConfigEntry[] cellSettingsCell settings.
Color colorColor.
Color colorColor.
string configConfig.
string filterTerritoriesFilter territories.
string keyKey.
float numericValueNumeric value.
bool storeCellIndicesStore cell indices.
string stringValueString value.
int tagOptional value that can be set with CellSetTag. You can later get the cell quickly using CellGetWithTag method.
int tagTag.
short territoryIndexThe territory to which this cell belongs to. You can change it using CellSetTerritory method. WARNING: do not change this value directly, use CellSetTerritory instead.
int territoryIndexTerritory index.
int territoryIndexTerritory index.
int territoryIndexTerritory index.
int textureIndexTexture index.
Description not found in source.
string titleTitle.
bool visibleVisible.
bool visibleReturns the actual visibility state of the cell. The setter will set only visibleSelf and not visibleByRules or visibleAlways.
bool visibleVisible.
bool visibleAlwaysGets or sets whether the cell is always visible, regardless of other rules.
bool visibleAlwaysVisible always.
void LoadConfiguration()Call this method to force a configuration load.
void SaveConfiguration(TerrainGridSystem tgs)Stores current grid configuration in this component
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Clears all references to all other triangles and points
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear(T value)Performs clear.
void Clear()Performs clear.
void Clear(bool value)Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
void Clear()Performs clear.
class TGSConfig : MonoBehaviorenum ApplyModeApplyMode ConfigApplyModeConfig apply mode.
Help us improve this documentation page.