整理代码

This commit is contained in:
monitor1394
2021-07-01 07:35:55 +08:00
parent 8f1709d8a3
commit 26a12f7a33
3 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,6 @@
/* */
/************************************************/
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
@@ -26,6 +25,7 @@ namespace XCharts
PropertyField(prop, "m_ToColor");
PropertyField(prop, "m_ToColor2");
PropertyField(prop, "m_Width");
PropertyField(prop, "m_Length");
PropertyField(prop, "m_Opacity");
--EditorGUI.indentLevel;
}

View File

@@ -13,7 +13,7 @@ namespace XCharts
[System.Obsolete]
public class XChartsBuild : IPreprocessBuild, IPostprocessBuild
{
public int callbackOrder => 1;
public int callbackOrder { get { return 1; } }
public void OnPostprocessBuild(BuildTarget target, string path)
{

View File

@@ -172,11 +172,11 @@ namespace XCharts
return null;
}
internal void RefreshBasePainter()
public void RefreshBasePainter()
{
m_Painter.Refresh();
}
internal void RefreshTopPainter()
public void RefreshTopPainter()
{
m_PainterTop.Refresh();
}
@@ -201,7 +201,7 @@ namespace XCharts
}
}
internal void SetPainterActive(int index, bool flag)
public void SetPainterActive(int index, bool flag)
{
var painter = GetPainter(index);
if (painter == null) return;