|
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 (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 | Clear () |
| removes any previously made highlights
|
|
|
SpriteRenderer | Prefab |
|
Color | ValidColor = Color.green |
|
Color | InvalidColor = Color.red |
|
Color | InfoColor = Color.blue |
|
◆ Clear()
void CityBuilderCore.SpriteHighlightManager.Clear |
( |
| ) |
|
|
inline |
◆ Highlight() [1/6]
void CityBuilderCore.SpriteHighlightManager.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.SpriteHighlightManager.Highlight |
( |
IEnumerable< Vector2Int > | points, |
|
|
Color | color ) |
|
inline |
◆ Highlight() [3/6]
void CityBuilderCore.SpriteHighlightManager.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.SpriteHighlightManager.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.SpriteHighlightManager.Highlight |
( |
Vector2Int | point, |
|
|
Color | color ) |
|
inline |
◆ Highlight() [6/6]
void CityBuilderCore.SpriteHighlightManager.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.