1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class BreakthroughItemWidget
- {
- #region 自定义数据
- private RectTransform _ItemRoot;
- public RectTransform ItemRoot
- {
- get{
- if (_ItemRoot == null)
- {
- _ItemRoot = GetUIUnit<RectTransform>("ItemRoot");
- }
- return _ItemRoot;
- }
- }
- private Text _Text_ItemName;
- public Text Text_ItemName
- {
- get{
- if (_Text_ItemName == null)
- {
- _Text_ItemName = GetUIUnit<Text>("Text_ItemName");
- }
- return _Text_ItemName;
- }
- }
- private Text _Text_Bl;
- public Text Text_Bl
- {
- get{
- if (_Text_Bl == null)
- {
- _Text_Bl = GetUIUnit<Text>("Text_Bl");
- }
- return _Text_Bl;
- }
- }
- private Button _Btn_Select;
- public Button Btn_Select
- {
- get{
- if (_Btn_Select == null)
- {
- _Btn_Select = GetUIUnit<Button>("Btn_Select");
- }
- return _Btn_Select;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|