| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class DaoYouWidget 	{	  #region 自定义数据 	  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_DaoyouLvName;	  public Text Text_DaoyouLvName	   {	   get{	      if (_Text_DaoyouLvName == null)	       {	         _Text_DaoyouLvName  = GetUIUnit<Text>("Text_DaoyouLvName"); 	       }	      return _Text_DaoyouLvName;	     }	   }	  private Text _Text_Type;	  public Text Text_Type	   {	   get{	      if (_Text_Type == null)	       {	         _Text_Type  = GetUIUnit<Text>("Text_Type"); 	       }	      return _Text_Type;	     }	   }	  private Button _Btn_Event;	  public Button Btn_Event	   {	   get{	      if (_Btn_Event == null)	       {	         _Btn_Event  = GetUIUnit<Button>("Btn_Event"); 	       }	      return _Btn_Event;	     }	   }	  private MyImage _Icon_Emotion;	  public MyImage Icon_Emotion	   {	   get{	      if (_Icon_Emotion == null)	       {	         _Icon_Emotion  = GetUIUnit<MyImage>("Icon_Emotion"); 	       }	      return _Icon_Emotion;	     }	   }	  private Text _Text_Level;	  public Text Text_Level	   {	   get{	      if (_Text_Level == null)	       {	         _Text_Level  = GetUIUnit<Text>("Text_Level"); 	       }	      return _Text_Level;	     }	   }	  private MyImage _Slider_Emotion;	  public MyImage Slider_Emotion	   {	   get{	      if (_Slider_Emotion == null)	       {	         _Slider_Emotion  = GetUIUnit<MyImage>("Slider_Emotion"); 	       }	      return _Slider_Emotion;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |