mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 06:20:15 +00:00
3.0 - unitypackage
This commit is contained in:
21
Editor/MainComponents/BackgroundEditor.cs
Normal file
21
Editor/MainComponents/BackgroundEditor.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user