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

30 lines
809 B
C#

#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 string tabIconPath = "";
public bool useLazyLoading = false;
public object? initialData = null;
public TabContentConfig(string id, string name, string path, string iconPath = "", bool lazy = false, object? data = null)
{
tabID = id;
tabName = name;
contentPath = path;
tabIconPath = iconPath;
useLazyLoading = lazy;
initialData = data;
}
}
}