12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SentimentPanel
- {
- #region 自定义数据
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private List<GameObject> _SentimentWidgetGams;
- public List<GameObject> SentimentWidgetGams
- {
- get{
- if (_SentimentWidgetGams == null)
- {
- _SentimentWidgetGams = GetUIUnit<List<GameObject>>("SentimentWidgetGams");
- }
- return _SentimentWidgetGams;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|