study/first_study/Library/PackageCache/com.unity.collab-proxy@1ec4e416a4af/Editor/CloudDrive/RefreshAsset.cs
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09:00

20 lines
431 B
C#

using UnityEditor;
namespace Unity.PlasticSCM.Editor.CloudDrive
{
internal static class RefreshAsset
{
internal static void BeforeLongAssetOperation()
{
AssetDatabase.DisallowAutoRefresh();
}
internal static void AfterLongAssetOperation()
{
AssetDatabase.AllowAutoRefresh();
AssetDatabase.Refresh(ImportAssetOptions.Default);
}
}
}