mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-27 03:10:11 +00:00
3.0
This commit is contained in:
@@ -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"; } }
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user