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

Detailed Description

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

https://citybuilder.softleitner.com/manual/buildings

Inheritance diagram for CityBuilderCore.ExpandableVisual:

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