35 lines
809 B
C#
35 lines
809 B
C#
![]() |
// ***********************************************************************
|
|||
|
// Assembly : Game
|
|||
|
// Author : Kimch
|
|||
|
// Created : 2021-05-02
|
|||
|
// Description :
|
|||
|
// Last Modified By :
|
|||
|
// Last Modified On :
|
|||
|
// ***********************************************************************
|
|||
|
// <copyright file= "EquipmentAttributeItem" company="Kunpo"></copyright>
|
|||
|
// <summary></summary>
|
|||
|
// ***********************************************************************
|
|||
|
namespace G.UI
|
|||
|
{
|
|||
|
|
|||
|
using TMPro;
|
|||
|
|
|||
|
public class EquipmentAttributeItem : KUIWidget
|
|||
|
{
|
|||
|
private TextMeshProUGUI _attrText;
|
|||
|
|
|||
|
private void Awake()
|
|||
|
{
|
|||
|
_attrText = this.Find<TextMeshProUGUI>("Text (TMP)");
|
|||
|
}
|
|||
|
|
|||
|
public override void Refresh()
|
|||
|
{
|
|||
|
if (this.data is string attr)
|
|||
|
{
|
|||
|
_attrText.text = attr;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|