ClassicCityBuilderKit 1.8.8
|
highlights tiles as valid, invalid or just as info
primarily used by building tools
Public Member Functions | |
void | Clear () |
removes any previously made highlights | |
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 CityBuilderCore.IHighlightManager.Clear | ( | ) |
removes any previously made highlights
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | IEnumerable< Vector2Int > | points, |
bool | valid ) |
highlights points on the map
points | points on the map to highlight |
valid | true to display as valid(green), false for invalid(red) |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | IEnumerable< Vector2Int > | points, |
Color | color ) |
highlights points on the map
points | points on the map to highlight |
color | color to visualize the highlight in |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | IEnumerable< Vector2Int > | points, |
HighlightType | type ) |
highlights points on the map
points | points on the map to highlight |
type | how the points should be visualized(valid>green, invalid>red, info>blue) |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | Vector2Int | point, |
bool | isValid ) |
highlights a point on the map
point | point on the map to highlight |
valid | true to display as valid(green), false for invalid(red) |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | Vector2Int | point, |
Color | color ) |
highlights points on the map
points | points on the map to highlight |
color | color to visualize the highlight in |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.
void CityBuilderCore.IHighlightManager.Highlight | ( | Vector2Int | point, |
HighlightType | type ) |
highlights a point on the map
point | point on the map to highlight |
type | how the points should be visualized(valid>green, invalid>red, info>blue) |
Implemented in CityBuilderCore.DefaultHighlightManager, CityBuilderCore.MeshHighlightManager, and CityBuilderCore.SpriteHighlightManager.