123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DivineSenceRestoredWidget
- {
- #region 自定义数据
- private Button _Btn_Use;
- public Button Btn_Use
- {
- get{
- if (_Btn_Use == null)
- {
- _Btn_Use = GetUIUnit<Button>("Btn_Use");
- }
- return _Btn_Use;
- }
- }
- private Text _Text_Tip;
- public Text Text_Tip
- {
- get{
- if (_Text_Tip == null)
- {
- _Text_Tip = GetUIUnit<Text>("Text_Tip");
- }
- return _Text_Tip;
- }
- }
- private Text _Text_Count;
- public Text Text_Count
- {
- get{
- if (_Text_Count == null)
- {
- _Text_Count = GetUIUnit<Text>("Text_Count");
- }
- return _Text_Count;
- }
- }
- private MyImage _Icon_Itemicon;
- public MyImage Icon_Itemicon
- {
- get{
- if (_Icon_Itemicon == null)
- {
- _Icon_Itemicon = GetUIUnit<MyImage>("Icon_Itemicon");
- }
- return _Icon_Itemicon;
- }
- }
- private GameObject _Group_Price;
- public GameObject Group_Price
- {
- get{
- if (_Group_Price == null)
- {
- _Group_Price = GetUIUnit<GameObject>("Group_Price");
- }
- return _Group_Price;
- }
- }
- private MyImage _Icon_PriceItem;
- public MyImage Icon_PriceItem
- {
- get{
- if (_Icon_PriceItem == null)
- {
- _Icon_PriceItem = GetUIUnit<MyImage>("Icon_PriceItem");
- }
- return _Icon_PriceItem;
- }
- }
- private Text _Text_Price;
- public Text Text_Price
- {
- get{
- if (_Text_Price == null)
- {
- _Text_Price = GetUIUnit<Text>("Text_Price");
- }
- return _Text_Price;
- }
- }
- private Text _Text_Free;
- public Text Text_Free
- {
- get{
- if (_Text_Free == null)
- {
- _Text_Free = GetUIUnit<Text>("Text_Free");
- }
- return _Text_Free;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|