Files
XRLib/Assets/Scripts/UVC/UI/Tab/TabContentConfig.cs

30 lines
809 B
C#
Raw Normal View History

2025-07-30 20:16:21 +09:00
#nullable enable
using UnityEngine;
namespace UVC.UI.Tab
{
/// <summary>
/// 탭 컨텐츠 설정 정보를 정의하는 클래스
/// </summary>
[System.Serializable]
public class TabContentConfig
{
public string tabID = "";
public string tabName = "";
public string contentPath = "";
2025-08-07 21:12:44 +09:00
public string tabIconPath = "";
2025-07-30 20:16:21 +09:00
public bool useLazyLoading = false;
public object? initialData = null;
2025-08-07 21:12:44 +09:00
public TabContentConfig(string id, string name, string path, string iconPath = "", bool lazy = false, object? data = null)
2025-07-30 20:16:21 +09:00
{
tabID = id;
tabName = name;
contentPath = path;
2025-08-07 21:12:44 +09:00
tabIconPath = iconPath;
2025-07-30 20:16:21 +09:00
useLazyLoading = lazy;
initialData = data;
}
}
}