| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class MainHeroPanel 	{	  #region 自定义数据 	  private Button _Btn_Close;	  public Button Btn_Close	   {	   get{	      if (_Btn_Close == null)	       {	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 	       }	      return _Btn_Close;	     }	   }	  private RectTransform _FaBaoRoot;	  public RectTransform FaBaoRoot	   {	   get{	      if (_FaBaoRoot == null)	       {	         _FaBaoRoot  = GetUIUnit<RectTransform>("FaBaoRoot"); 	       }	      return _FaBaoRoot;	     }	   }	  private RectTransform _Content;	  public RectTransform Content	   {	   get{	      if (_Content == null)	       {	         _Content  = GetUIUnit<RectTransform>("Content"); 	       }	      return _Content;	     }	   }	  private GameObject _HeroAttributeWidgetGam;	  public GameObject HeroAttributeWidgetGam	   {	   get{	      if (_HeroAttributeWidgetGam == null)	       {	         _HeroAttributeWidgetGam  = GetUIUnit<GameObject>("HeroAttributeWidgetGam"); 	       }	      return _HeroAttributeWidgetGam;	     }	   }	  private Button _Btn_Sentiment;	  public Button Btn_Sentiment	   {	   get{	      if (_Btn_Sentiment == null)	       {	         _Btn_Sentiment  = GetUIUnit<Button>("Btn_Sentiment"); 	       }	      return _Btn_Sentiment;	     }	   }	  private Transform _CameraRoot;	  public Transform CameraRoot	   {	   get{	      if (_CameraRoot == null)	       {	         _CameraRoot  = GetUIUnit<Transform>("CameraRoot"); 	       }	      return _CameraRoot;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |