Interface IHexTerrainViewModeSubscriber
Namespace: Fwt.HexTerrains.ViewModes.Data
Assembly: fwt.hexterrains.dll
Syntax
public interface IHexTerrainViewModeSubscriber
Properties
Name
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
OnViewModeChanged(Entity, HexTerrainViewMode)
Method called when the view mode of a terrain changes. Implement this method to update the subscriber's state based on the new view mode.
Declaration
void OnViewModeChanged(Entity terrainEntity, HexTerrainViewMode viewMode)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | terrainEntity | The entity representing the terrain whose view mode has changed. |
| HexTerrainViewMode | viewMode |