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