【m】1111

This commit is contained in:
2025-09-23 11:18:38 +08:00
parent b04e548850
commit a2e0062a34
202 changed files with 13296 additions and 56 deletions

View File

@@ -17,15 +17,15 @@ namespace Stary.Evo
Debug.Log(" 自动运行 ");
if (!PlayerPrefs.HasKey("StartUp"))
if (!EditorPrefs.HasKey("StartUp"))
{
// 通过标记记录是否已经执行过该方法
OnEditorStartUp();
PlayerPrefs.SetInt("StartUp", 1);
EditorPrefs.SetInt("StartUp", 1);
if (PlayerPrefs.GetInt("CreatDomainDirectory") == 0)
if (EditorPrefs.GetInt("CreatDomainDirectory") == 0)
{
PlayerPrefs.SetInt("CreatDomainDirectory", 1);
EditorPrefs.SetInt("CreatDomainDirectory", 1);
bool isOk = EditorUtility.DisplayDialog("提示", "发现目录存在缺失,是否检索并创建缺失目录", "是", "否");
if (isOk)
{
@@ -65,7 +65,7 @@ namespace Stary.Evo
/// </summary>
private static void OnEditorQuit()
{
PlayerPrefs.DeleteKey("StartUp");
EditorPrefs.DeleteKey("StartUp");
}
/// <summary>