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

Detailed Description

dialog that displays information about the selected building

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.SelectionDialog:
CityBuilderCore.DialogBase

Public Member Functions

void Activate (object target)
 
override void Deactivate ()
 
void SetTitle (string title)
 
void SetDescrition (string description)
 
void SetEvolution (IEvolution evolution)
 
void SetEmployment (IEmployment employment)
 
void SetHousing (IHousing housing)
 
void SetProduction (IProductionComponent production)
 
void SetStorage (IStorageComponent storage, bool initiate)
 
void SetDistribution (IDistributionComponent distribution, bool initiate)
 
void SetWorkerUser (IWorkerUser workerUser)
 
void SetWalkerStorage (ItemStorage storage)
 
void SetItemEfficiency (ItemEfficiencyComponent itemEfficiencyComponent)
 
void SetRoadBlocker (RoadBlockerComponent roadBlockerComponent, bool initiate)
 
void Move ()
 
- Public Member Functions inherited from CityBuilderCore.DialogBase
void Toggle ()
 
void ToggleGlobal ()
 
void ActivateGlobal ()
 
virtual void Activate ()
 

Public Attributes

TMPro.TMP_Text TitleText
 
UnityEngine.UI.Toggle BuildingToggle
 
UnityEngine.UI.Button MoveButton
 
GameObject DescriptionPanel
 
TMPro.TMP_Text DescriptionText
 
GameObject EvolutionPanel
 
TMPro.TMP_Text EvolutionText
 
ItemsPanel EvolutionItems
 
GameObject EmploymentPanel
 
TMPro.TMP_Text EmploymentText
 
GameObject HousingPanel
 
TMPro.TMP_Text HousingText
 
GameObject ProductionPanel
 
RectTransform ProductionBar
 
ItemsPanel ProductionConsumerItems
 
ItemsPanel ProductionProducerItems
 
GameObject StoragePanel
 
StorageOrdersPanel StorageOrders
 
GameObject DistributionPanel
 
DistributionOrdersPanel DistributionOrders
 
GameObject WorkerPanel
 
WorkersPanel WorkingWorkers
 
WorkersPanel QueuedWorkers
 
WorkersPanel AssignedWorkers
 
GameObject WalkerStoragePanel
 
ItemsPanel WalkerStorageItems
 
GameObject ItemEfficiencyPanel
 
ItemsPanel EfficiencyItems
 
GameObject RoadBlockerPanel
 
RoadBlockerPanel RoadBlocker
 
BuildingAddon BuildingAddon
 
WalkerAddon WalkerAddon
 
UnityEvent< object > TargetChanged
 
- Public Attributes inherited from CityBuilderCore.DialogBase
bool PauseGame
 
ContentSizeFitter Fitter
 

Protected Member Functions

override void Awake ()
 
override void Start ()
 
override void updateContent (bool initiate)
 
- Protected Member Functions inherited from CityBuilderCore.DialogBase
virtual void Update ()
 
virtual void OnDestroy ()
 
virtual void updateLayout ()
 

Properties

object CurrentTarget [get]
 
- Properties inherited from CityBuilderCore.DialogBase
bool IsDialogActive [get]
 

Member Function Documentation

◆ Awake()

override void CityBuilderCore.SelectionDialog.Awake ( )
inlineprotectedvirtual

Reimplemented from CityBuilderCore.DialogBase.

◆ Deactivate()

override void CityBuilderCore.SelectionDialog.Deactivate ( )
inlinevirtual

Reimplemented from CityBuilderCore.DialogBase.

◆ Start()

override void CityBuilderCore.SelectionDialog.Start ( )
inlineprotectedvirtual

Reimplemented from CityBuilderCore.DialogBase.

◆ updateContent()

override void CityBuilderCore.SelectionDialog.updateContent ( bool initiate)
inlineprotectedvirtual

Reimplemented from CityBuilderCore.DialogBase.