Class TraitStatsUI
UI that displays the image and text of a Trait.
Namespace: AutoBattleFramework.BattleUI
Assembly: cs.temp.dll.dll
Syntax
public class TraitStatsUI : MonoBehaviour
Fields
TraitImage
Trait image.
Declaration
public Image TraitImage
Field Value
Type | Description |
---|---|
Image |
TraitText
Trait name.
Declaration
public TMPro.TextMeshProUGUI TraitText
Field Value
Type | Description |
---|---|
TMPro.TextMeshProUGUI |
Methods
SetUI(Trait)
Set the TraitImage and TraitText.
Declaration
public void SetUI(Trait trait)
Parameters
Type | Name | Description |
---|---|---|
Trait | trait | Trait to display. |