Class TraitListUI
List of active features. It colors the traits according to their level.
Namespace: AutoBattleFramework.BattleUI
Assembly: cs.temp.dll.dll
Syntax
public class TraitListUI : MonoBehaviour
Fields
ActivatedColorBackground
Color of the background of an activated trait.
Declaration
public Color ActivatedColorBackground
Field Value
Type | Description |
---|---|
Color |
ActivatedColorText
Color of the text of an activated trait.
Declaration
public Color ActivatedColorText
Field Value
Type | Description |
---|---|
Color |
DeactivatedColorBackground
Color of the background of a non activated trait.
Declaration
public Color DeactivatedColorBackground
Field Value
Type | Description |
---|---|
Color |
DeactivatedColorText
Color of the text of a non activated trait.
Declaration
public Color DeactivatedColorText
Field Value
Type | Description |
---|---|
Color |
NoActivatedColor
Color of a non activated Trait.
Declaration
public Color NoActivatedColor
Field Value
Type | Description |
---|---|
Color |
order
The way the traits are orderer in the list.
Declaration
public TraitListUI.OrderBy order
Field Value
Type | Description |
---|---|
TraitListUI.OrderBy |
traitsUI
List of current Traits UI:
Declaration
public List<TraitUI> traitsUI
Field Value
Type | Description |
---|---|
List<TraitUI> |
TraitUIPrefab
Prefab of the Trait UI.
Declaration
public TraitUI TraitUIPrefab
Field Value
Type | Description |
---|---|
TraitUI |
Methods
HideAllDescriptionsUI()
Hide all DescriptionUI.
Declaration
public void HideAllDescriptionsUI()
UpdateList(List<Trait>)
Update hte trait UI list.
Declaration
public void UpdateList(List<Trait> traits)
Parameters
Type | Name | Description |
---|---|---|
List<Trait> | traits |