Files
ichni_Creator_Studio/Assets/Modern UI Pack/Editor/Scripts/InitMUIP.cs
SoulliesOfficial 8d0abec75f 基础内容
必要插件安装
缓动曲线和动画基础
ElementFolder,Track与其次级模块,PathNode重构
2025-01-26 21:10:16 -05:00

24 lines
732 B
C#

#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
namespace Michsky.MUIP
{
public class InitMUIP
{
[InitializeOnLoad]
public class InitOnLoad
{
static InitOnLoad()
{
if (!EditorPrefs.HasKey("MUIP.HasCustomEditorData"))
{
EditorPrefs.SetInt("MUIP.HasCustomEditorData", 1);
EditorPrefs.SetString("MUIP.CustomEditorDark", AssetDatabase.GetAssetPath(Resources.Load("MUIP-EditorDark")));
EditorPrefs.SetString("MUIP.CustomEditorLight", AssetDatabase.GetAssetPath(Resources.Load("MUIP-EditorLight")));
}
}
}
}
}
#endif