From 3fbf5bc9069bff65c398882dfe08de24d6658cb4 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sat, 26 Mar 2022 18:30:55 +0800 Subject: [PATCH] 3.0 --- Editor/Windows/XCSettingsEditor.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Editor/Windows/XCSettingsEditor.cs b/Editor/Windows/XCSettingsEditor.cs index ef1add3a..0908998e 100644 --- a/Editor/Windows/XCSettingsEditor.cs +++ b/Editor/Windows/XCSettingsEditor.cs @@ -8,6 +8,11 @@ namespace XCharts.Editor [CustomEditor(typeof(XCSettings))] public class XCSettingsEditor : UnityEditor.Editor { + internal class Styles + { + public static readonly GUIContent defaultFontAssetLabel = new GUIContent("Default Font Asset", "The Font Asset that will be assigned by default to newly created text objects when no Font Asset is specified."); + public static readonly GUIContent defaultFontAssetPathLabel = new GUIContent("Path: Resources/", "The relative path to a Resources folder where the Font Assets and Material Presets are located.\nExample \"Fonts & Materials/\""); + } } #if UNITY_2018_3_OR_NEWER @@ -43,7 +48,6 @@ namespace XCharts.Editor static SettingsProvider[] CreateXCSettingsProvider() { var providers = new System.Collections.Generic.List { new XCResourceImporterProvider() }; - var isExist = File.Exists("Assets/XCharts/Resources/XCSettings.asset"); if (GetSettings() != null) { var provider = new AssetSettingsProvider("Project/XCharts/Settings", GetSettings);