tile for the power lines in the urban demo
shows different sprites for 0 / \ X
https://citybuilder.softleitner.com/manual/urban
|
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 () |
|
|
Connection | Connection |
|
Sprite[] | Sprites = new Sprite[4] |
|
bool | IsColored |
|
Color | Color |
|
TileBase[] | ConnectedTiles |
|
|
override Quaternion | getRotation (byte mask) |
|
override Vector3 | getScale (byte mask) |
|
override Sprite | getSprite (byte mask) |
|
override bool | hasConnection (ITilemap tilemap, Vector3Int point) |
|
Sprite | getSprite (byte mask) |
|
virtual GameObject | getPrefab (byte mask) |
|
Quaternion | getRotation (byte mask) |
|
Vector3 | getScale (byte mask) |
|
virtual void | refreshNeighbours (Vector3Int location, ITilemap tilemap) |
|
virtual byte | getMask (Vector3Int location, ITilemap tilemap) |
|
◆ hasConnection()
override bool CityBuilderUrban.PowerTile.hasConnection |
( |
ITilemap | tilemap, |
|
|
Vector3Int | point ) |
|
inlineprotectedvirtual |