using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; using TMPro; namespace Fort23.Mono { public partial class WidgetHero { #region 自定义数据 private Image _bgImg; public Image bgImg { get{ if (_bgImg == null) { _bgImg = GetUIUnit("bgImg"); } return _bgImg; } } private Image _headIcon; public Image headIcon { get{ if (_headIcon == null) { _headIcon = GetUIUnit("headIcon"); } return _headIcon; } } private List _stars; public List stars { get{ if (_stars == null) { _stars = GetUIUnit>("stars"); } return _stars; } } private TextMeshProUGUI _lv; public TextMeshProUGUI lv { get{ if (_lv == null) { _lv = GetUIUnit("lv"); } return _lv; } } private Image _zhiyeIcon; public Image zhiyeIcon { get{ if (_zhiyeIcon == null) { _zhiyeIcon = GetUIUnit("zhiyeIcon"); } return _zhiyeIcon; } } private Button _btnHero; public Button btnHero { get{ if (_btnHero == null) { _btnHero = GetUIUnit