mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-29 20:58:47 +00:00
整理代码
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
/* */
|
/* */
|
||||||
/************************************************/
|
/************************************************/
|
||||||
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
@@ -26,6 +25,7 @@ namespace XCharts
|
|||||||
PropertyField(prop, "m_ToColor");
|
PropertyField(prop, "m_ToColor");
|
||||||
PropertyField(prop, "m_ToColor2");
|
PropertyField(prop, "m_ToColor2");
|
||||||
PropertyField(prop, "m_Width");
|
PropertyField(prop, "m_Width");
|
||||||
|
PropertyField(prop, "m_Length");
|
||||||
PropertyField(prop, "m_Opacity");
|
PropertyField(prop, "m_Opacity");
|
||||||
--EditorGUI.indentLevel;
|
--EditorGUI.indentLevel;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace XCharts
|
|||||||
[System.Obsolete]
|
[System.Obsolete]
|
||||||
public class XChartsBuild : IPreprocessBuild, IPostprocessBuild
|
public class XChartsBuild : IPreprocessBuild, IPostprocessBuild
|
||||||
{
|
{
|
||||||
public int callbackOrder => 1;
|
public int callbackOrder { get { return 1; } }
|
||||||
|
|
||||||
public void OnPostprocessBuild(BuildTarget target, string path)
|
public void OnPostprocessBuild(BuildTarget target, string path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -172,11 +172,11 @@ namespace XCharts
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void RefreshBasePainter()
|
public void RefreshBasePainter()
|
||||||
{
|
{
|
||||||
m_Painter.Refresh();
|
m_Painter.Refresh();
|
||||||
}
|
}
|
||||||
internal void RefreshTopPainter()
|
public void RefreshTopPainter()
|
||||||
{
|
{
|
||||||
m_PainterTop.Refresh();
|
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);
|
var painter = GetPainter(index);
|
||||||
if (painter == null) return;
|
if (painter == null) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user