| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class GachaPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private Button _tenButton;
 
- 	  public Button tenButton
 
- 	   {
 
- 	   get{
 
- 	      if (_tenButton == null)
 
- 	       {
 
- 	         _tenButton  = GetUIUnit<Button>("tenButton"); 
 
- 	       }
 
- 	      return _tenButton;
 
- 	     }
 
- 	   }
 
- 	  private List<GameObject> _TenWidgetitems;
 
- 	  public List<GameObject> TenWidgetitems
 
- 	   {
 
- 	   get{
 
- 	      if (_TenWidgetitems == null)
 
- 	       {
 
- 	         _TenWidgetitems  = GetUIUnit<List<GameObject>>("TenWidgetitems"); 
 
- 	       }
 
- 	      return _TenWidgetitems;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _WidgetItemType2Gam;
 
- 	  public GameObject WidgetItemType2Gam
 
- 	   {
 
- 	   get{
 
- 	      if (_WidgetItemType2Gam == null)
 
- 	       {
 
- 	         _WidgetItemType2Gam  = GetUIUnit<GameObject>("WidgetItemType2Gam"); 
 
- 	       }
 
- 	      return _WidgetItemType2Gam;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _TenRoot;
 
- 	  public GameObject TenRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_TenRoot == null)
 
- 	       {
 
- 	         _TenRoot  = GetUIUnit<GameObject>("TenRoot"); 
 
- 	       }
 
- 	      return _TenRoot;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _OneRoot;
 
- 	  public GameObject OneRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_OneRoot == null)
 
- 	       {
 
- 	         _OneRoot  = GetUIUnit<GameObject>("OneRoot"); 
 
- 	       }
 
- 	      return _OneRoot;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Count;
 
- 	  public Slider Slider_Count
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Count == null)
 
- 	       {
 
- 	         _Slider_Count  = GetUIUnit<Slider>("Slider_Count"); 
 
- 	       }
 
- 	      return _Slider_Count;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Count;
 
- 	  public Text Text_Count
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Count == null)
 
- 	       {
 
- 	         _Text_Count  = GetUIUnit<Text>("Text_Count"); 
 
- 	       }
 
- 	      return _Text_Count;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _StartRoot;
 
- 	  public GameObject StartRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_StartRoot == null)
 
- 	       {
 
- 	         _StartRoot  = GetUIUnit<GameObject>("StartRoot"); 
 
- 	       }
 
- 	      return _StartRoot;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_JingDu;
 
- 	  public Text Text_JingDu
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_JingDu == null)
 
- 	       {
 
- 	         _Text_JingDu  = GetUIUnit<Text>("Text_JingDu"); 
 
- 	       }
 
- 	      return _Text_JingDu;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Score;
 
- 	  public Text Text_Score
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Score == null)
 
- 	       {
 
- 	         _Text_Score  = GetUIUnit<Text>("Text_Score"); 
 
- 	       }
 
- 	      return _Text_Score;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_ScoreCount;
 
- 	  public Text Text_ScoreCount
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_ScoreCount == null)
 
- 	       {
 
- 	         _Text_ScoreCount  = GetUIUnit<Text>("Text_ScoreCount"); 
 
- 	       }
 
- 	      return _Text_ScoreCount;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Score1;
 
- 	  public Slider Slider_Score1
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Score1 == null)
 
- 	       {
 
- 	         _Slider_Score1  = GetUIUnit<Slider>("Slider_Score1"); 
 
- 	       }
 
- 	      return _Slider_Score1;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Score2;
 
- 	  public Slider Slider_Score2
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Score2 == null)
 
- 	       {
 
- 	         _Slider_Score2  = GetUIUnit<Slider>("Slider_Score2"); 
 
- 	       }
 
- 	      return _Slider_Score2;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ScoreRoot;
 
- 	  public GameObject ScoreRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_ScoreRoot == null)
 
- 	       {
 
- 	         _ScoreRoot  = GetUIUnit<GameObject>("ScoreRoot"); 
 
- 	       }
 
- 	      return _ScoreRoot;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_ScoreName;
 
- 	  public Text Text_ScoreName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_ScoreName == null)
 
- 	       {
 
- 	         _Text_ScoreName  = GetUIUnit<Text>("Text_ScoreName"); 
 
- 	       }
 
- 	      return _Text_ScoreName;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _root;
 
- 	  public GameObject root
 
- 	   {
 
- 	   get{
 
- 	      if (_root == null)
 
- 	       {
 
- 	         _root  = GetUIUnit<GameObject>("root"); 
 
- 	       }
 
- 	      return _root;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Close;
 
- 	  public Button Btn_Close
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Close == null)
 
- 	       {
 
- 	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 
 
- 	       }
 
- 	      return _Btn_Close;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Tips;
 
- 	  public Text Text_Tips
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Tips == null)
 
- 	       {
 
- 	         _Text_Tips  = GetUIUnit<Text>("Text_Tips"); 
 
- 	       }
 
- 	      return _Text_Tips;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |