mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 12:40:12 +00:00
21 lines
502 B
C#
21 lines
502 B
C#
|
|
|
|
using UnityEditor;
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |