| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class SentimentInfoPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private GameObject _MainSentimentEffectWidget;
 
- 	  public GameObject MainSentimentEffectWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_MainSentimentEffectWidget == null)
 
- 	       {
 
- 	         _MainSentimentEffectWidget  = GetUIUnit<GameObject>("MainSentimentEffectWidget"); 
 
- 	       }
 
- 	      return _MainSentimentEffectWidget;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ItemWidgetType1Gam;
 
- 	  public GameObject ItemWidgetType1Gam
 
- 	   {
 
- 	   get{
 
- 	      if (_ItemWidgetType1Gam == null)
 
- 	       {
 
- 	         _ItemWidgetType1Gam  = GetUIUnit<GameObject>("ItemWidgetType1Gam"); 
 
- 	       }
 
- 	      return _ItemWidgetType1Gam;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Name;
 
- 	  public Text Text_Name
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Name == null)
 
- 	       {
 
- 	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 
 
- 	       }
 
- 	      return _Text_Name;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Desc;
 
- 	  public Text Text_Desc
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Desc == null)
 
- 	       {
 
- 	         _Text_Desc  = GetUIUnit<Text>("Text_Desc"); 
 
- 	       }
 
- 	      return _Text_Desc;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_LingWu;
 
- 	  public Button Btn_LingWu
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_LingWu == null)
 
- 	       {
 
- 	         _Btn_LingWu  = GetUIUnit<Button>("Btn_LingWu"); 
 
- 	       }
 
- 	      return _Btn_LingWu;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _Content;
 
- 	  public RectTransform Content
 
- 	   {
 
- 	   get{
 
- 	      if (_Content == null)
 
- 	       {
 
- 	         _Content  = GetUIUnit<RectTransform>("Content"); 
 
- 	       }
 
- 	      return _Content;
 
- 	     }
 
- 	   }
 
- 	  private List<RectTransform> _Root;
 
- 	  public List<RectTransform> Root
 
- 	   {
 
- 	   get{
 
- 	      if (_Root == null)
 
- 	       {
 
- 	         _Root  = GetUIUnit<List<RectTransform>>("Root"); 
 
- 	       }
 
- 	      return _Root;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _XianRoot;
 
- 	  public RectTransform XianRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_XianRoot == null)
 
- 	       {
 
- 	         _XianRoot  = GetUIUnit<RectTransform>("XianRoot"); 
 
- 	       }
 
- 	      return _XianRoot;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Rest;
 
- 	  public Button Btn_Rest
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Rest == null)
 
- 	       {
 
- 	         _Btn_Rest  = GetUIUnit<Button>("Btn_Rest"); 
 
- 	       }
 
- 	      return _Btn_Rest;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _Group_ResourceBar;
 
- 	  public RectTransform Group_ResourceBar
 
- 	   {
 
- 	   get{
 
- 	      if (_Group_ResourceBar == null)
 
- 	       {
 
- 	         _Group_ResourceBar  = GetUIUnit<RectTransform>("Group_ResourceBar"); 
 
- 	       }
 
- 	      return _Group_ResourceBar;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_CurrentLevel;
 
- 	  public Text Text_CurrentLevel
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_CurrentLevel == null)
 
- 	       {
 
- 	         _Text_CurrentLevel  = GetUIUnit<Text>("Text_CurrentLevel"); 
 
- 	       }
 
- 	      return _Text_CurrentLevel;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_NextLevel;
 
- 	  public Text Text_NextLevel
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_NextLevel == null)
 
- 	       {
 
- 	         _Text_NextLevel  = GetUIUnit<Text>("Text_NextLevel"); 
 
- 	       }
 
- 	      return _Text_NextLevel;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_EffectName;
 
- 	  public Text Text_EffectName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_EffectName == null)
 
- 	       {
 
- 	         _Text_EffectName  = GetUIUnit<Text>("Text_EffectName"); 
 
- 	       }
 
- 	      return _Text_EffectName;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |