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

50 lines
776 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-03-19 11:33:30 +08:00
// Generate Id:2c4e0333-8bf3-44db-8e01-bafc76597ccc
2024-12-14 18:27:59 +08:00
public partial class UILoading
{
public const string Name = "UILoading";
2025-03-19 11:33:30 +08:00
[SerializeField]
public TMPro.TextMeshProUGUI Progress;
2024-12-14 18:27:59 +08:00
[SerializeField]
public TMPro.TextMeshProUGUI Label;
private UILoadingData mPrivateData = null;
protected override void ClearUIComponents()
{
2025-03-19 11:33:30 +08:00
Progress = null;
2024-12-14 18:27:59 +08:00
Label = null;
mData = null;
}
public UILoadingData Data
{
get
{
return mData;
}
}
UILoadingData mData
{
get
{
return mPrivateData ?? (mPrivateData = new UILoadingData());
}
set
{
mUIData = value;
mPrivateData = value;
}
}
}
}