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

30 lines
799 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 = "";
public Sprite? tabIcon = null;
public bool useLazyLoading = false;
public object? initialData = null;
public TabContentConfig(string id, string name, string path, Sprite? icon = null, bool lazy = false, object? data = null)
{
tabID = id;
tabName = name;
contentPath = path;
tabIcon = icon;
useLazyLoading = lazy;
initialData = data;
}
}
}