using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using TMPro; using System.Collections.Generic; namespace Fort23.Mono { public partial class EnergyWidget { #region 自定义数据 private MyImage _Icon_Energy; public MyImage Icon_Energy { get{ if (_Icon_Energy == null) { _Icon_Energy = GetUIUnit("Icon_Energy"); } return _Icon_Energy; } } private TextMeshProUGUI _Text_Count; public TextMeshProUGUI Text_Count { get{ if (_Text_Count == null) { _Text_Count = GetUIUnit("Text_Count"); } return _Text_Count; } } private Button _Btn_Coin; public Button Btn_Coin { get{ if (_Btn_Coin == null) { _Btn_Coin = GetUIUnit