WuhuIslandTesting/Library/PackageCache/com.unity.addressables@1.21.12/Editor/Diagnostics/GUI/Graph/GraphLayerBase.cs

42 lines
1 KiB
C#
Raw Normal View History

2025-01-07 02:06:59 +01:00
using System;
using UnityEditor.AddressableAssets.Diagnostics.Data;
using UnityEngine;
namespace UnityEditor.AddressableAssets.Diagnostics.GUI.Graph
{
class GraphLayerBase : IGraphLayer
{
string m_LayerName;
string m_Description;
Color m_Color;
public int Stream { get; private set; }
public GraphLayerBase(int stream, string name, string description, Color color)
{
Stream = stream;
m_LayerName = name;
m_Description = description;
m_Color = color;
}
public Color GraphColor
{
get { return m_Color; }
}
public string LayerName
{
get { return m_LayerName; }
}
public string Description
{
get { return m_Description; }
}
public virtual void Draw(EventDataSet dataSet, Rect rect, int startFrame, int frameCount, int inspectFrame, bool expanded, Material material, int maxValue)
{
}
}
}