Class CharacterStatsUI
Inheritance
CharacterStatsUI
Assembly: cs.temp.dll.dll
Syntax
public class CharacterStatsUI : MonoBehaviour
Fields
AtkSpeedText
Declaration
public TMPro.TextMeshProUGUI AtkSpeedText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
character
Declaration
public GameCharacter character
Field Value
| Type |
Description |
| GameCharacter |
|
CharacterEnergyBar
Reference of the character Energy bar.
Declaration
public Image CharacterEnergyBar
Field Value
CharacterHPBar
Reference of the character Health bar.
Declaration
public Image CharacterHPBar
Field Value
CharacterImage
Declaration
public Image CharacterImage
Field Value
CharacterName
Declaration
public TMPro.TextMeshProUGUI CharacterName
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
CritChanceText
Declaration
public TMPro.TextMeshProUGUI CritChanceText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
CritDamageText
Declaration
public TMPro.TextMeshProUGUI CritDamageText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
DamageText
Declaration
public TMPro.TextMeshProUGUI DamageText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
DefText
Declaration
public TMPro.TextMeshProUGUI DefText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
EnergyText
Declaration
public TMPro.TextMeshProUGUI EnergyText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
HPText
Declaration
public TMPro.TextMeshProUGUI HPText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
itemImagePrefab
Declaration
public EquippedItemDescriptionUI itemImagePrefab
Field Value
| Type |
Description |
| EquippedItemDescriptionUI |
|
items
Declaration
public List<EquippedItemDescriptionUI> items
Field Value
| Type |
Description |
| List<EquippedItemDescriptionUI> |
|
itemScrollContent
Scroll content that will display the items that the character has equipped.
Declaration
public Transform itemScrollContent
Field Value
| Type |
Description |
| Transform |
|
MagicDamageText
Declaration
public TMPro.TextMeshProUGUI MagicDamageText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
MagicDefText
Declaration
public TMPro.TextMeshProUGUI MagicDefText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
MoveToCharacterPosition
Declaration
public bool MoveToCharacterPosition
Field Value
RangeText
Declaration
public TMPro.TextMeshProUGUI RangeText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
SpecialAttackDescriptionText
Declaration
public TMPro.TextMeshProUGUI SpecialAttackDescriptionText
Field Value
| Type |
Description |
| TMPro.TextMeshProUGUI |
|
SpecialImage
Declaration
public Image SpecialImage
Field Value
SpecialPanelImage
Reference to the image that represents the character�s SpecialAttack() panel description.
Declaration
public Image SpecialPanelImage
Field Value
TraitList
Declaration
public Transform TraitList
Field Value
| Type |
Description |
| Transform |
|
traitstats
List of character�s traits
Declaration
public List<TraitStatsUI> traitstats
Field Value
TraitStatsPrefab
Declaration
public TraitStatsUI TraitStatsPrefab
Field Value
Methods
OnPointerEnter(PointerEventData)
Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
OnPointerExit(PointerEventData)
Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
OnPointerMove(PointerEventData)
Declaration
public void OnPointerMove(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
SetOverPanel(Boolean)
The components within the panel use this function to indicate that the cursor is still on the panel when they are over them.
Declaration
public void SetOverPanel(bool value)
Parameters
| Type |
Name |
Description |
| Boolean |
value |
Over the panel.
|
SetUI(GameCharacter)
Sets the character reference and sets the stats values in all texts.
Declaration
public void SetUI(GameCharacter character)
Parameters
| Type |
Name |
Description |
| GameCharacter |
character |
|
ShowUI(Boolean)
If true, show the stats of the character.
Declaration
public void ShowUI(bool show)
Parameters
| Type |
Name |
Description |
| Boolean |
show |
Show the stats of the characters.
|