123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class ShopGachaPanel
- {
- #region 自定义数据
- 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 Button _Btn_ShuangBei;
- public Button Btn_ShuangBei
- {
- get{
- if (_Btn_ShuangBei == null)
- {
- _Btn_ShuangBei = GetUIUnit<Button>("Btn_ShuangBei");
- }
- return _Btn_ShuangBei;
- }
- }
- private Button _Btn_LingQu;
- public Button Btn_LingQu
- {
- get{
- if (_Btn_LingQu == null)
- {
- _Btn_LingQu = GetUIUnit<Button>("Btn_LingQu");
- }
- return _Btn_LingQu;
- }
- }
- private Text _Text_AllCount;
- public Text Text_AllCount
- {
- get{
- if (_Text_AllCount == null)
- {
- _Text_AllCount = GetUIUnit<Text>("Text_AllCount");
- }
- return _Text_AllCount;
- }
- }
- private List<GameObject> _TenDaiJinJuanWidgetGams;
- public List<GameObject> TenDaiJinJuanWidgetGams
- {
- get{
- if (_TenDaiJinJuanWidgetGams == null)
- {
- _TenDaiJinJuanWidgetGams = GetUIUnit<List<GameObject>>("TenDaiJinJuanWidgetGams");
- }
- return _TenDaiJinJuanWidgetGams;
- }
- }
- private GameObject _DaiJinJuanWidget1Gam;
- public GameObject DaiJinJuanWidget1Gam
- {
- get{
- if (_DaiJinJuanWidget1Gam == null)
- {
- _DaiJinJuanWidget1Gam = GetUIUnit<GameObject>("DaiJinJuanWidget1Gam");
- }
- return _DaiJinJuanWidget1Gam;
- }
- }
- private Text _Text_Bl;
- public Text Text_Bl
- {
- get{
- if (_Text_Bl == null)
- {
- _Text_Bl = GetUIUnit<Text>("Text_Bl");
- }
- return _Text_Bl;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|