1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class ComBatFrontWidget
- {
- #region 自定义数据
- 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_Jingjie;
- public Text Text_Jingjie
- {
- get{
- if (_Text_Jingjie == null)
- {
- _Text_Jingjie = GetUIUnit<Text>("Text_Jingjie");
- }
- return _Text_Jingjie;
- }
- }
- private Button _Btn_Xiangqing;
- public Button Btn_Xiangqing
- {
- get{
- if (_Btn_Xiangqing == null)
- {
- _Btn_Xiangqing = GetUIUnit<Button>("Btn_Xiangqing");
- }
- return _Btn_Xiangqing;
- }
- }
- private MyImage _Icon_Boss;
- public MyImage Icon_Boss
- {
- get{
- if (_Icon_Boss == null)
- {
- _Icon_Boss = GetUIUnit<MyImage>("Icon_Boss");
- }
- return _Icon_Boss;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|