ClassicCityBuilderKit 1.8.8
|
will pass a connection at the points of a structure
Public Member Functions | |
override IEnumerable< Vector2Int > | GetPoints () |
the points of the passer | |
Public Member Functions inherited from CityBuilderCore.ConnectionPasserBase | |
IEnumerable< Vector2Int > | GetPoints () |
the points of the passer | |
void | ValueChanged (Vector2Int point, int value) |
this is where the passer gets notified about changes to the values of its points | |
Public Attributes | |
string | StructureKey |
Public Attributes inherited from CityBuilderCore.ConnectionPasserBase | |
Connection | Connection |
PointValueEvent | PointValueChanged |
Protected Member Functions | |
override void | Start () |
Protected Member Functions inherited from CityBuilderCore.ConnectionPasserBase | |
virtual void | OnDestroy () |
void | onPointsChanged (IEnumerable< Vector2Int > removed, IEnumerable< Vector2Int > added) |
Additional Inherited Members | |
Properties inherited from CityBuilderCore.IConnectionPasser | |
Events inherited from CityBuilderCore.ConnectionPasserBase | |
Action< PointsChanged< IConnectionPasser > > | PointsChanged |
Events inherited from CityBuilderCore.IConnectionPasser | |
Action< PointsChanged< IConnectionPasser > > | PointsChanged |
fired by the passer when points are removed or added to it | |
override IEnumerable< Vector2Int > CityBuilderCore.ConnectionPasserStructure.GetPoints | ( | ) |
|
inlineprotectedvirtual |
Reimplemented from CityBuilderCore.ConnectionPasserBase.