123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SentimentInfoPanel
- {
- #region 自定义数据
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private GameObject _MainSentimentEffectWidget;
- public GameObject MainSentimentEffectWidget
- {
- get{
- if (_MainSentimentEffectWidget == null)
- {
- _MainSentimentEffectWidget = GetUIUnit<GameObject>("MainSentimentEffectWidget");
- }
- return _MainSentimentEffectWidget;
- }
- }
- private GameObject _ItemWidgetType1Gam;
- public GameObject ItemWidgetType1Gam
- {
- get{
- if (_ItemWidgetType1Gam == null)
- {
- _ItemWidgetType1Gam = GetUIUnit<GameObject>("ItemWidgetType1Gam");
- }
- return _ItemWidgetType1Gam;
- }
- }
- 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_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private Text _Text_Level;
- public Text Text_Level
- {
- get{
- if (_Text_Level == null)
- {
- _Text_Level = GetUIUnit<Text>("Text_Level");
- }
- return _Text_Level;
- }
- }
- private Button _Btn_LingWu;
- public Button Btn_LingWu
- {
- get{
- if (_Btn_LingWu == null)
- {
- _Btn_LingWu = GetUIUnit<Button>("Btn_LingWu");
- }
- return _Btn_LingWu;
- }
- }
- private RectTransform _Content;
- public RectTransform Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<RectTransform>("Content");
- }
- return _Content;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|