Class TraitDescriptionUI
Panel describing the effects of a trait.
Namespace: AutoBattleFramework.BattleUI
Assembly: cs.temp.dll.dll
Syntax
public class TraitDescriptionUI : MonoBehaviour
Fields
TraitDescription
Text displaying the trait description.
Declaration
public TMPro.TextMeshProUGUI TraitDescription
Field Value
Type | Description |
---|---|
TMPro.TextMeshProUGUI |
TraitImage
Display the trait image.
Declaration
public Image TraitImage
Field Value
Type | Description |
---|---|
Image |
TraitName
Text displaying the trait name.
Declaration
public TMPro.TextMeshProUGUI TraitName
Field Value
Type | Description |
---|---|
TMPro.TextMeshProUGUI |
Methods
SetTraitDescription(Trait)
Sets the description of the trait
Declaration
public void SetTraitDescription(Trait trait)
Parameters
Type | Name | Description |
---|---|---|
Trait | trait | Trait to be described. |