| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class SkillWidget 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private MyImage _icon;
 
- 	  public MyImage icon
 
- 	   {
 
- 	   get{
 
- 	      if (_icon == null)
 
- 	       {
 
- 	         _icon  = GetUIUnit<MyImage>("icon"); 
 
- 	       }
 
- 	      return _icon;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _Icon_Marsk;
 
- 	  public GameObject Icon_Marsk
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Marsk == null)
 
- 	       {
 
- 	         _Icon_Marsk  = GetUIUnit<GameObject>("Icon_Marsk"); 
 
- 	       }
 
- 	      return _Icon_Marsk;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_SkillName;
 
- 	  public Text Text_SkillName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_SkillName == null)
 
- 	       {
 
- 	         _Text_SkillName  = GetUIUnit<Text>("Text_SkillName"); 
 
- 	       }
 
- 	      return _Text_SkillName;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Level;
 
- 	  public Text Text_Level
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Level == null)
 
- 	       {
 
- 	         _Text_Level  = GetUIUnit<Text>("Text_Level"); 
 
- 	       }
 
- 	      return _Text_Level;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_SkillType;
 
- 	  public Text Text_SkillType
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_SkillType == null)
 
- 	       {
 
- 	         _Text_SkillType  = GetUIUnit<Text>("Text_SkillType"); 
 
- 	       }
 
- 	      return _Text_SkillType;
 
- 	     }
 
- 	   }
 
- 	  private List<MyImage> _StarRoot;
 
- 	  public List<MyImage> StarRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_StarRoot == null)
 
- 	       {
 
- 	         _StarRoot  = GetUIUnit<List<MyImage>>("StarRoot"); 
 
- 	       }
 
- 	      return _StarRoot;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _InfoPos;
 
- 	  public RectTransform InfoPos
 
- 	   {
 
- 	   get{
 
- 	      if (_InfoPos == null)
 
- 	       {
 
- 	         _InfoPos  = GetUIUnit<RectTransform>("InfoPos"); 
 
- 	       }
 
- 	      return _InfoPos;
 
- 	     }
 
- 	   }
 
- 	  private CustomStateController _csc;
 
- 	  public CustomStateController csc
 
- 	   {
 
- 	   get{
 
- 	      if (_csc == null)
 
- 	       {
 
- 	         _csc  = GetUIUnit<CustomStateController>("csc"); 
 
- 	       }
 
- 	      return _csc;
 
- 	     }
 
- 	   }
 
- 	  private CustomStateController _ShuXingCsc;
 
- 	  public CustomStateController ShuXingCsc
 
- 	   {
 
- 	   get{
 
- 	      if (_ShuXingCsc == null)
 
- 	       {
 
- 	         _ShuXingCsc  = GetUIUnit<CustomStateController>("ShuXingCsc"); 
 
- 	       }
 
- 	      return _ShuXingCsc;
 
- 	     }
 
- 	   }
 
- 	  private RedDotWidgetType01 _redDotComType01;
 
- 	  public RedDotWidgetType01 redDotComType01
 
- 	   {
 
- 	   get{
 
- 	      if (_redDotComType01 == null)
 
- 	       {
 
- 	         _redDotComType01  = GetUIUnit<RedDotWidgetType01>("redDotComType01"); 
 
- 	       }
 
- 	      return _redDotComType01;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |