1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class EventLogWidget
- {
- #region 自定义数据
- private Text _Text_Title;
- public Text Text_Title
- {
- get{
- if (_Text_Title == null)
- {
- _Text_Title = GetUIUnit<Text>("Text_Title");
- }
- return _Text_Title;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private Button _Btn_HuiGu;
- public Button Btn_HuiGu
- {
- get{
- if (_Btn_HuiGu == null)
- {
- _Btn_HuiGu = GetUIUnit<Button>("Btn_HuiGu");
- }
- return _Btn_HuiGu;
- }
- }
- private RectTransform _Connect;
- public RectTransform Connect
- {
- get{
- if (_Connect == null)
- {
- _Connect = GetUIUnit<RectTransform>("Connect");
- }
- return _Connect;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|