| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class ShengShiConditionWidget 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private Button _myButton;
 
- 	  public Button myButton
 
- 	   {
 
- 	   get{
 
- 	      if (_myButton == null)
 
- 	       {
 
- 	         _myButton  = GetUIUnit<Button>("myButton"); 
 
- 	       }
 
- 	      return _myButton;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _bg;
 
- 	  public MyImage bg
 
- 	   {
 
- 	   get{
 
- 	      if (_bg == null)
 
- 	       {
 
- 	         _bg  = GetUIUnit<MyImage>("bg"); 
 
- 	       }
 
- 	      return _bg;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Name;
 
- 	  public Text Text_Name
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Name == null)
 
- 	       {
 
- 	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 
 
- 	       }
 
- 	      return _Text_Name;
 
- 	     }
 
- 	   }
 
- 	  private CustomStateController _Sts;
 
- 	  public CustomStateController Sts
 
- 	   {
 
- 	   get{
 
- 	      if (_Sts == null)
 
- 	       {
 
- 	         _Sts  = GetUIUnit<CustomStateController>("Sts"); 
 
- 	       }
 
- 	      return _Sts;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |