ClassicCityBuilderKit 1.8.8
|
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 () |
Protected Member Functions inherited from CityBuilderCore.LayerAffector | |
void | checkAffector () |
Properties | |
override bool | IsAffecting [get] |
IBuilding | Building [get] |
Properties inherited from CityBuilderCore.LayerAffector | |
virtual bool | IsAffecting [get] |
virtual string | Name [get] |
name of the affector used in UI | |
Properties inherited from CityBuilderCore.ILayerAffector |
Additional Inherited Members | |
Public Member Functions inherited from CityBuilderCore.LayerAffector | |
Dictionary< Vector2Int, int > | GetValues () |
return all positions the affector affects with their values | |
int | GetValue (Vector2Int position) |
Public Attributes inherited from CityBuilderCore.LayerAffector | |
Layer | Layer |
int | Value |
int | Range |
int | Falloff |
Events inherited from CityBuilderCore.LayerAffector | |
Action< ILayerAffector > | Changed |
Events inherited from CityBuilderCore.ILayerAffector | |
Action< ILayerAffector > | Changed |
|
inlineprotectedvirtual |
Reimplemented from CityBuilderCore.LayerAffector.