1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class MainHeroPanel
- {
- #region 自定义数据
- private Text _Text_PlayerName;
- public Text Text_PlayerName
- {
- get{
- if (_Text_PlayerName == null)
- {
- _Text_PlayerName = GetUIUnit<Text>("Text_PlayerName");
- }
- return _Text_PlayerName;
- }
- }
- private Text _Text_JIngJieName;
- public Text Text_JIngJieName
- {
- get{
- if (_Text_JIngJieName == null)
- {
- _Text_JIngJieName = GetUIUnit<Text>("Text_JIngJieName");
- }
- return _Text_JIngJieName;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private RectTransform _FaBaoRoot;
- public RectTransform FaBaoRoot
- {
- get{
- if (_FaBaoRoot == null)
- {
- _FaBaoRoot = GetUIUnit<RectTransform>("FaBaoRoot");
- }
- return _FaBaoRoot;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|