style(editor): 简化 TimelineNameCache 代码格式

Made-with: Cursor
This commit is contained in:
2026-03-06 15:32:42 +08:00
parent f7c29ed260
commit 806561ff72
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
@@ -30,15 +30,11 @@ namespace AibisDream.EditorTools
public int version = CurrentVersion;
public string lastFullScanTime;
public List<TimelineNameCacheEntry> entries = new List<TimelineNameCacheEntry>();
private static readonly string CacheFolderRelativePath = "Assets/Editor/TimelineNameCollector/Cache";
private static readonly string CacheFileName = "timeline_name_cache.json";
public static string CacheFolderFullPath =>
Path.Combine(Application.dataPath, "Editor/TimelineNameCollector/Cache");
public static string CacheFolderFullPath => Path.Combine(Application.dataPath, "Editor/TimelineNameCollector/Cache");
public static string CacheFileFullPath =>
Path.Combine(CacheFolderFullPath, CacheFileName);
public static string CacheFileFullPath => Path.Combine(CacheFolderFullPath, CacheFileName);
public static TimelineNameCache Load()
{