This commit is contained in:
monitor1394
2022-03-24 08:37:06 +08:00
parent 6cb3709655
commit f597a3f116
78 changed files with 791 additions and 741 deletions

View File

@@ -42,7 +42,7 @@ namespace XCharts.Editor
}
}
[CustomPropertyDrawer(typeof(VisualMap.Pieces), true)]
[CustomPropertyDrawer(typeof(VisualMapPieces), true)]
public class PiecesDrawer : BasePropertyDrawer
{
public override string ClassName { get { return "Pieces"; } }

View File

@@ -27,7 +27,7 @@ namespace XCharts.Editor
public static void CheckAddedAsset(string assetPath)
{
var fileName = Path.GetFileName(assetPath);
if (fileName.Equals("XChartsSettings.asset"))
if (fileName.Equals("XCSettings.asset"))
{
XCThemeMgr.ReloadThemeList();
return;

View File

@@ -55,6 +55,7 @@ namespace XCharts.Editor
{
var parent = GetParent();
if (parent == null) return null;
XCThemeMgr.CheckReloadTheme();
var chart = new GameObject();
chart.name = GetName(parent, chartName);
var t = chart.AddComponent<T>();