ClassicCityBuilderKit 1.9.1
|
special layeraffector that only affects as long as its building is working
the building has to be on the same gameobject or the parent one
for example stages in THREE only provide entertainment to the area when have workers(WorkerUserComponent)
Protected Member Functions | |
override void | Start () |
![]() | |
void | checkAffector () |
Properties | |
override bool | IsAffecting [get] |
IBuilding | Building [get] |
![]() | |
virtual bool | IsAffecting [get] |
virtual string | Name [get] |
name of the affector used in UI | |
![]() |
Additional Inherited Members | |
![]() | |
Dictionary< Vector2Int, int > | GetValues () |
return all positions the affector affects with their values | |
int | GetValue (Vector2Int point) |
![]() | |
Layer | Layer |
int | Value |
int | Range |
int | Falloff |
![]() | |
Action< ILayerAffector > | Changed |
![]() | |
Action< ILayerAffector > | Changed |
|
inlineprotectedvirtual |
Reimplemented from CityBuilderCore.LayerAffector.