// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2021-05-02 // Description : // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** namespace G.UI { using TMPro; public class EquipmentAttributeItem : KUIWidget { private TextMeshProUGUI _attrText; private void Awake() { _attrText = this.Find("Text (TMP)"); } public override void Refresh() { if (this.data is string attr) { _attrText.text = attr; } } } }