• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    Class CharacterStatsUI

    Allows the visualization of a character�s CurrentStats.

    Inheritance
    Object
    CharacterStatsUI
    Namespace: AutoBattleFramework.BattleUI
    Assembly: cs.temp.dll.dll
    Syntax
    public class CharacterStatsUI : MonoBehaviour

    Fields

    AtkSpeedText

    Reference to CurrentStats attack speed text.

    Declaration
    public TMPro.TextMeshProUGUI AtkSpeedText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    character

    Characte rreference

    Declaration
    public GameCharacter character
    Field Value
    Type Description
    GameCharacter

    CharacterEnergyBar

    Reference of the character Energy bar.

    Declaration
    public Image CharacterEnergyBar
    Field Value
    Type Description
    Image

    CharacterHPBar

    Reference of the character Health bar.

    Declaration
    public Image CharacterHPBar
    Field Value
    Type Description
    Image

    CharacterImage

    Declaration
    public Image CharacterImage
    Field Value
    Type Description
    Image

    CharacterName

    Declaration
    public TMPro.TextMeshProUGUI CharacterName
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    CritChanceText

    Reference to CurrentStats critical chance text.

    Declaration
    public TMPro.TextMeshProUGUI CritChanceText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    CritDamageText

    Reference to CurrentStats critical damage text.

    Declaration
    public TMPro.TextMeshProUGUI CritDamageText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    DamageText

    Reference to CurrentStats damage text.

    Declaration
    public TMPro.TextMeshProUGUI DamageText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    DefText

    Reference to CurrentStats defense text.

    Declaration
    public TMPro.TextMeshProUGUI DefText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    EnergyText

    Reference to text where CurrentStats energy and InitialStats energy will be displayed.

    Declaration
    public TMPro.TextMeshProUGUI EnergyText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    HPText

    Reference to text where CurrentStats health and InitialStats health will be displayed.

    Declaration
    public TMPro.TextMeshProUGUI HPText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    itemImagePrefab

    Prefab of the item displayed in itemScrollContent.

    Declaration
    public EquippedItemDescriptionUI itemImagePrefab
    Field Value
    Type Description
    EquippedItemDescriptionUI

    items

    List of items inside itemScrollContent.

    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

    Reference to CurrentStats magic damage text.

    Declaration
    public TMPro.TextMeshProUGUI MagicDamageText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    MagicDefText

    Reference to CurrentStats magic defense text.

    Declaration
    public TMPro.TextMeshProUGUI MagicDefText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    MoveToCharacterPosition

    Declaration
    public bool MoveToCharacterPosition
    Field Value
    Type Description
    Boolean

    RangeText

    Reference to CurrentStats range text.

    Declaration
    public TMPro.TextMeshProUGUI RangeText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    SpecialAttackDescriptionText

    Display the SpecialAttackEffect description.

    Declaration
    public TMPro.TextMeshProUGUI SpecialAttackDescriptionText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    SpecialImage

    Reference to the image that represents the character�s SpecialAttack().

    Declaration
    public Image SpecialImage
    Field Value
    Type Description
    Image

    SpecialPanelImage

    Reference to the image that represents the character�s SpecialAttack() panel description.

    Declaration
    public Image SpecialPanelImage
    Field Value
    Type Description
    Image

    TraitList

    Declaration
    public Transform TraitList
    Field Value
    Type Description
    Transform

    traitstats

    List of character�s traits

    Declaration
    public List<TraitStatsUI> traitstats
    Field Value
    Type Description
    List<TraitStatsUI>

    TraitStatsPrefab

    Declaration
    public TraitStatsUI TraitStatsPrefab
    Field Value
    Type Description
    TraitStatsUI

    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.

    In This Article
    Back to top Auto-Battle Framework documentation