using UnityEditor; using XCharts.Runtime; namespace XCharts.Editor { [ComponentEditor(typeof(Background))] internal sealed class BackgroundEditor : MainComponentEditor { public override void OnInspectorGUI() { ++EditorGUI.indentLevel; PropertyField("m_Image"); PropertyField("m_ImageType"); PropertyField("m_ImageColor"); PropertyField("m_AutoColor"); --EditorGUI.indentLevel; } } }