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

Detailed Description

alternate variant or ExpandableVisual that uses caps and sides instead of start and end
caps are places in the corners af the expandable and sides are instantiated between those

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

Inheritance diagram for CityBuilderCore.ExpandableVisualCapped:
CityBuilderCore.IExpandableVisual

Public Types

enum  RepetitionMode { Inside , Offset , Exended }
 

Public Member Functions

Transform GetPart (int i)
 
virtual void UpdateVisuals (Vector2Int expansion)
 

Public Attributes

ExpandableBuildingInfo Info
 
ExpandableBuilding Building
 
Transform Pivot
 
Transform CapPart
 
Transform SidePart
 
Transform RepeatingPart
 
RepetitionMode RepeatingMode
 

Protected Member Functions

virtual void Start ()
 

Properties

GameObject GameObject [get]
 
- Properties inherited from CityBuilderCore.IExpandableVisual

Events

Action VisualsUpdated
 
- Events inherited from CityBuilderCore.IExpandableVisual
Action VisualsUpdated
 

Member Function Documentation

◆ GetPart()

Transform CityBuilderCore.ExpandableVisualCapped.GetPart ( int i)

◆ UpdateVisuals()

virtual void CityBuilderCore.ExpandableVisualCapped.UpdateVisuals ( Vector2Int expansion)
inlinevirtual

Property Documentation

◆ GameObject

GameObject CityBuilderCore.ExpandableVisualCapped.GameObject
get