tile that can be used for connections in hex grids with equidistant sizes
check out CityBuilderCore.Tests/Other/HexRoad for examples
https://citybuilder.softleitner.com/manual
|
override Sprite | GetPreviewSprite () |
|
override bool | StartUp (Vector3Int position, ITilemap tilemap, GameObject go) |
|
override void | RefreshTile (Vector3Int location, ITilemap tilemap) |
|
override void | GetTileData (Vector3Int location, ITilemap tilemap, ref TileData tileData) |
|
Sprite | GetPreviewSprite () |
|
|
Sprite[] | Sprites = new Sprite[13] |
|
GameObject[] | Prefabs = new GameObject[13] |
|
bool | IsColored |
|
Color | Color |
|
TileBase[] | ConnectedTiles |
|
|
override byte | getMask (Vector3Int location, ITilemap tilemap) |
|
override Quaternion | getRotation (byte mask) |
|
override Vector3 | getScale (byte mask) |
|
override Sprite | getSprite (byte mask) |
|
override GameObject | getPrefab (byte mask) |
|
Sprite | getSprite (byte mask) |
|
Quaternion | getRotation (byte mask) |
|
Vector3 | getScale (byte mask) |
|
virtual void | refreshNeighbours (Vector3Int location, ITilemap tilemap) |
|
virtual bool | hasConnection (ITilemap tilemap, Vector3Int position) |
|
◆ getMask()
override byte CityBuilderCore.ConnectedHexagonTileEQ.getMask |
( |
Vector3Int | location, |
|
|
ITilemap | tilemap ) |
|
inlineprotectedvirtual |
◆ getPrefab()
override GameObject CityBuilderCore.ConnectedHexagonTileEQ.getPrefab |
( |
byte | mask | ) |
|
|
protectedvirtual |