default implementation for IHighlightManager
uses tiles that are assigned in inspector
https://citybuilder.softleitner.com/manual
|
void | Highlight (IEnumerable< Vector2Int > points, bool valid) |
| highlights points on the map
|
|
void | Highlight (IEnumerable< Vector2Int > points, HighlightType type) |
| highlights points on the map
|
|
void | Highlight (IEnumerable< Vector2Int > points, Color color) |
| highlights points on the map
|
|
void | Highlight (IEnumerable< Vector2Int > points, TileBase tile) |
|
void | Highlight (Vector2Int point, bool isValid) |
| highlights a point on the map
|
|
void | Highlight (Vector2Int point, HighlightType type) |
| highlights a point on the map
|
|
void | Highlight (Vector2Int point, Color color) |
| highlights points on the map
|
|
void | Highlight (Vector2Int point, TileBase tile) |
|
void | Clear () |
| removes any previously made highlights
|
|
|
TileBase | ValidTile |
|
TileBase | InvalidTile |
|
TileBase | InfoTile |
|
TileBase | ColorTile |
|
◆ Clear()
void CityBuilderCore.DefaultHighlightManager.Clear |
( |
| ) |
|
|
inline |
◆ Highlight() [1/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
IEnumerable< Vector2Int > | points, |
|
|
bool | valid ) |
highlights points on the map
- Parameters
-
points | points on the map to highlight |
valid | true to display as valid(green), false for invalid(red) |
Implements CityBuilderCore.IHighlightManager.
◆ Highlight() [2/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
IEnumerable< Vector2Int > | points, |
|
|
Color | color ) |
|
inline |
◆ Highlight() [3/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
IEnumerable< Vector2Int > | points, |
|
|
HighlightType | type ) |
highlights points on the map
- Parameters
-
points | points on the map to highlight |
type | how the points should be visualized(valid>green, invalid>red, info>blue) |
Implements CityBuilderCore.IHighlightManager.
◆ Highlight() [4/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
Vector2Int | point, |
|
|
bool | isValid ) |
highlights a point on the map
- Parameters
-
point | point on the map to highlight |
valid | true to display as valid(green), false for invalid(red) |
Implements CityBuilderCore.IHighlightManager.
◆ Highlight() [5/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
Vector2Int | point, |
|
|
Color | color ) |
|
inline |
◆ Highlight() [6/6]
void CityBuilderCore.DefaultHighlightManager.Highlight |
( |
Vector2Int | point, |
|
|
HighlightType | type ) |
highlights a point on the map
- Parameters
-
point | point on the map to highlight |
type | how the points should be visualized(valid>green, invalid>red, info>blue) |
Implements CityBuilderCore.IHighlightManager.