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

Detailed Description

special connected isometric tile that will connect to any point that has a connection
this allows, for example, pipes in urban to connect to pumps and houses

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

Public Attributes

Connection Connection
 
- Public Attributes inherited from CityBuilderCore.ConnectedIsometricTile
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 bool hasConnection (ITilemap tilemap, Vector3Int point)
 
- Protected Member Functions inherited from CityBuilderCore.ConnectedIsometricTile
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)
 

Additional Inherited Members

- Public Member Functions inherited from CityBuilderCore.ConnectedIsometricTile
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 ()
 

Member Function Documentation

◆ hasConnection()

override bool CityBuilderCore.ConnectionIsometricTile.hasConnection ( ITilemap tilemap,
Vector3Int point )
inlineprotectedvirtual

Reimplemented from CityBuilderCore.ConnectedTileBase.