12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DaoYouLevelWidget
- {
- #region 自定义数据
- private Text _Text_Level;
- public Text Text_Level
- {
- get{
- if (_Text_Level == null)
- {
- _Text_Level = GetUIUnit<Text>("Text_Level");
- }
- return _Text_Level;
- }
- }
- private Text _Text_Name;
- public Text Text_Name
- {
- get{
- if (_Text_Name == null)
- {
- _Text_Name = GetUIUnit<Text>("Text_Name");
- }
- return _Text_Name;
- }
- }
- private Text _Text_Tips;
- public Text Text_Tips
- {
- get{
- if (_Text_Tips == null)
- {
- _Text_Tips = GetUIUnit<Text>("Text_Tips");
- }
- return _Text_Tips;
- }
- }
- private RectTransform _ItemRoot;
- public RectTransform ItemRoot
- {
- get{
- if (_ItemRoot == null)
- {
- _ItemRoot = GetUIUnit<RectTransform>("ItemRoot");
- }
- return _ItemRoot;
- }
- }
- private Button _Btn_Award;
- public Button Btn_Award
- {
- get{
- if (_Btn_Award == null)
- {
- _Btn_Award = GetUIUnit<Button>("Btn_Award");
- }
- return _Btn_Award;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|