| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class BuffWidget 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private MyImage _buffIcon;
 
- 	  public MyImage buffIcon
 
- 	   {
 
- 	   get{
 
- 	      if (_buffIcon == null)
 
- 	       {
 
- 	         _buffIcon  = GetUIUnit<MyImage>("buffIcon"); 
 
- 	       }
 
- 	      return _buffIcon;
 
- 	     }
 
- 	   }
 
- 	  private Text _buffCount;
 
- 	  public Text buffCount
 
- 	   {
 
- 	   get{
 
- 	      if (_buffCount == null)
 
- 	       {
 
- 	         _buffCount  = GetUIUnit<Text>("buffCount"); 
 
- 	       }
 
- 	      return _buffCount;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _cd;
 
- 	  public MyImage cd
 
- 	   {
 
- 	   get{
 
- 	      if (_cd == null)
 
- 	       {
 
- 	         _cd  = GetUIUnit<MyImage>("cd"); 
 
- 	       }
 
- 	      return _cd;
 
- 	     }
 
- 	   }
 
- 	  private Button _myButton;
 
- 	  public Button myButton
 
- 	   {
 
- 	   get{
 
- 	      if (_myButton == null)
 
- 	       {
 
- 	         _myButton  = GetUIUnit<Button>("myButton"); 
 
- 	       }
 
- 	      return _myButton;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |