|
ClassicCityBuilderKit 1.9.4
|
visualizes a walker value by sizing a rect to its ratio and writing the value in a text field
used for the walker health bars in the Defense demo
Public Member Functions | |
| override void | Initialize (Walker walker, IWalkerValue value) |
Public Member Functions inherited from CityBuilderCore.WalkerValueBar | |
| bool | HasValue () |
| float | GetMaximum () |
| float | GetValue () |
| Vector3 | GetPosition () |
| float | GetRatio () |
Public Attributes | |
| TMPro.TMP_Text | Text |
| string | Format |
| RectTransform | Rect |
| bool | IsStatic |
Properties | |
| override bool | IsGlobal [get] |
Properties inherited from CityBuilderCore.WalkerValueBar | |
| Walker | Walker [get] |
| virtual bool | IsGlobal [get] |
Additional Inherited Members | |
Protected Attributes inherited from CityBuilderCore.WalkerValueBar | |
| Walker | _walker |
| IWalkerValue | _value |
|
inlinevirtual |
Reimplemented from CityBuilderCore.WalkerValueBar.