VirtualFramework/Assets/Scripts/UI/UITextTip.Designer.cs

56 lines
912 B
C#
Raw Normal View History

2024-12-14 18:27:59 +08:00
using System;
using UnityEngine;
using UnityEngine.UI;
using QFramework;
namespace QFramework.Example
{
// Generate Id:2bccd644-ac9b-4f30-8f17-4a933167afc1
2024-12-14 18:27:59 +08:00
public partial class UITextTip
{
public const string Name = "UITextTip";
[SerializeField]
public TMPro.TextMeshProUGUI Title;
2024-12-14 18:27:59 +08:00
[SerializeField]
2024-12-17 09:39:38 +08:00
public TMPro.TextMeshProUGUI Des;
2024-12-14 18:27:59 +08:00
[SerializeField]
2024-12-17 09:39:38 +08:00
public RectTransform BtnContent;
2024-12-14 18:27:59 +08:00
[SerializeField]
public UnityEngine.UI.Button Btn;
private UITextTipData mPrivateData = null;
protected override void ClearUIComponents()
{
Title = null;
2024-12-17 09:39:38 +08:00
Des = null;
BtnContent = null;
2024-12-14 18:27:59 +08:00
Btn = null;
mData = null;
}
public UITextTipData Data
{
get
{
return mData;
}
}
UITextTipData mData
{
get
{
return mPrivateData ?? (mPrivateData = new UITextTipData());
}
set
{
mUIData = value;
mPrivateData = value;
}
}
}
}