Files
Hasebe/Assets/Tremble/Editor/AssetProcessors/TrembleCacheDropperPostprocessor.cs
T
2026-09-20 15:26:03 +03:00

22 lines
596 B
C#

//
// This file is part of the Tremble package by Tiny Goose.
// Copyright (c) 2024-2026 TinyGoose Ltd., All Rights Reserved.
//
using UnityEditor;
namespace TinyGoose.Tremble.Editor
{
public class TrembleCacheDropperPostprocessor : AssetPostprocessor
{
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
{
if (!TrembleSyncSettings.Get().AutomaticallyReimportWhenDependencyChanges)
{
MapHierarchyIcons.ResetModifiedTimes();
}
EditorLoaderAdaptor.DropCachedAssetPaths();
}
}
}