mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
整理代码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user