Loading...
Searching...
No Matches
CityBuilderCore.ConnectedIsometricTile Class Reference

Detailed Description

connecting tile for isometric grids, used for roads and rails in the urban demo

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.ConnectedIsometricTile:
CityBuilderCore.ConnectedTileBase CityBuilderCore.ConnectionIsometricTile

Public Member Functions

override Sprite GetPreviewSprite ()
 
- Public Member Functions inherited from CityBuilderCore.ConnectedTileBase
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 ()
 

Public Attributes

Sprite[] Sprites = new Sprite[7]
 
GameObject[] Prefabs = new GameObject[7]
 
- Public Attributes inherited from CityBuilderCore.ConnectedTileBase
bool IsColored
 
Color Color
 
TileBase[] ConnectedTiles
 

Protected Member Functions

override Quaternion getRotation (byte mask)
 
override Vector3 getScale (byte mask)
 
override Sprite getSprite (byte mask)
 
override GameObject getPrefab (byte mask)
 
- Protected Member Functions inherited from CityBuilderCore.ConnectedTileBase
Sprite getSprite (byte mask)
 
Quaternion getRotation (byte mask)
 
Vector3 getScale (byte mask)
 
virtual void refreshNeighbours (Vector3Int location, ITilemap tilemap)
 
virtual byte getMask (Vector3Int location, ITilemap tilemap)
 
virtual bool hasConnection (ITilemap tilemap, Vector3Int position)
 

Member Function Documentation

◆ getPrefab()

override GameObject CityBuilderCore.ConnectedIsometricTile.getPrefab ( byte mask)
protectedvirtual

Reimplemented from CityBuilderCore.ConnectedTileBase.