mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 21:00:11 +00:00
22 lines
525 B
C#
22 lines
525 B
C#
|
|
|
|
using UnityEditor;
|
|
using XCharts.Runtime;
|
|
|
|
namespace XCharts.Editor
|
|
{
|
|
[ComponentEditor(typeof(Background))]
|
|
internal sealed class BackgroundEditor : MainComponentEditor<Background>
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
|
|
++EditorGUI.indentLevel;
|
|
PropertyField("m_Image");
|
|
PropertyField("m_ImageType");
|
|
PropertyField("m_ImageColor");
|
|
PropertyField("m_HideThemeBackgroundColor");
|
|
--EditorGUI.indentLevel;
|
|
}
|
|
}
|
|
} |