AlicizaX/Client/Packages/com.alicizax.unity.debugger/Runtime/Debugger/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs

63 lines
1.6 KiB
C#
Raw Normal View History

2025-04-28 19:45:45 +08:00
using AlicizaX;
2025-01-23 19:06:48 +08:00
namespace AlicizaX.Debugger.Runtime
{
2025-04-28 19:45:45 +08:00
public sealed partial class DebuggerComponent
2025-01-23 19:06:48 +08:00
{
private sealed partial class RuntimeMemoryInformationWindow<T> : ScrollableDebuggerWindowBase where T : UnityEngine.Object
{
private sealed class Sample
{
private readonly string m_Name;
private readonly string m_Type;
private readonly long m_Size;
private bool m_Highlight;
public Sample(string name, string type, long size)
{
m_Name = name;
m_Type = type;
m_Size = size;
m_Highlight = false;
}
public string Name
{
get
{
return m_Name;
}
}
public string Type
{
get
{
return m_Type;
}
}
public long Size
{
get
{
return m_Size;
}
}
public bool Highlight
{
get
{
return m_Highlight;
}
set
{
m_Highlight = value;
}
}
}
}
}
}