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

53 lines
832 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
{
2025-01-08 11:13:02 +08:00
// Generate Id:81782f84-21db-40cc-8f07-78023c95d54e
2024-12-14 18:27:59 +08:00
public partial class UIHint
{
public const string Name = "UIHint";
[SerializeField]
public UnityEngine.UI.Image ItemPrefab;
[SerializeField]
public TMPro.TextMeshProUGUI Label;
[SerializeField]
public UnityEngine.UI.Image Icon;
private UIHintData mPrivateData = null;
protected override void ClearUIComponents()
{
ItemPrefab = null;
Label = null;
Icon = null;
mData = null;
}
public UIHintData Data
{
get
{
return mData;
}
}
UIHintData mData
{
get
{
return mPrivateData ?? (mPrivateData = new UIHintData());
}
set
{
mUIData = value;
mPrivateData = value;
}
}
}
}