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

Detailed Description

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)

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

Inheritance diagram for CityBuilderCore.LayerAffectorWorking:
CityBuilderCore.LayerAffector CityBuilderCore.ILayerAffector

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< ILayerAffectorChanged
 
- Events inherited from CityBuilderCore.ILayerAffector
Action< ILayerAffectorChanged
 

Member Function Documentation

◆ Start()

override void CityBuilderCore.LayerAffectorWorking.Start ( )
inlineprotectedvirtual

Reimplemented from CityBuilderCore.LayerAffector.