123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class TitlePanel
- {
- #region 自定义数据
- private Text _Text_JingJie;
- public Text Text_JingJie
- {
- get{
- if (_Text_JingJie == null)
- {
- _Text_JingJie = GetUIUnit<Text>("Text_JingJie");
- }
- return _Text_JingJie;
- }
- }
- private Slider _Slider_Exp;
- public Slider Slider_Exp
- {
- get{
- if (_Slider_Exp == null)
- {
- _Slider_Exp = GetUIUnit<Slider>("Slider_Exp");
- }
- return _Slider_Exp;
- }
- }
- private RectTransform _Group_ResourceBar;
- public RectTransform Group_ResourceBar
- {
- get{
- if (_Group_ResourceBar == null)
- {
- _Group_ResourceBar = GetUIUnit<RectTransform>("Group_ResourceBar");
- }
- return _Group_ResourceBar;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|