56 lines
912 B
C#
56 lines
912 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:2bccd644-ac9b-4f30-8f17-4a933167afc1
|
|
public partial class UITextTip
|
|
{
|
|
public const string Name = "UITextTip";
|
|
|
|
[SerializeField]
|
|
public TMPro.TextMeshProUGUI Title;
|
|
[SerializeField]
|
|
public TMPro.TextMeshProUGUI Des;
|
|
[SerializeField]
|
|
public RectTransform BtnContent;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button Btn;
|
|
|
|
private UITextTipData mPrivateData = null;
|
|
|
|
protected override void ClearUIComponents()
|
|
{
|
|
Title = null;
|
|
Des = null;
|
|
BtnContent = null;
|
|
Btn = null;
|
|
|
|
mData = null;
|
|
}
|
|
|
|
public UITextTipData Data
|
|
{
|
|
get
|
|
{
|
|
return mData;
|
|
}
|
|
}
|
|
|
|
UITextTipData mData
|
|
{
|
|
get
|
|
{
|
|
return mPrivateData ?? (mPrivateData = new UITextTipData());
|
|
}
|
|
set
|
|
{
|
|
mUIData = value;
|
|
mPrivateData = value;
|
|
}
|
|
}
|
|
}
|
|
}
|