ClassicCityBuilderKit 1.8.8
|
behaviour that can be used to adjust an expandable buildings visuals to its actual size
also adjust the building pivot position to the expanded size
can also be used for the ghost by only filling out the info and leaving the building empty
Public Member Functions | |
virtual void | UpdateVisual (Vector2Int expansion) |
Public Attributes | |
ExpandableBuildingInfo | Info |
ExpandableBuilding | Building |
Transform | Pivot |
Transform | StartPart |
Transform | RepeatingPart |
Transform | EndPart |
Protected Member Functions | |
virtual void | Start () |
Properties | |
List< Transform > | RepeatedParts = new List<Transform>() [get] |
Events | |
Action | VisualsUpdated |