Editor 전처리기 처리2

This commit is contained in:
NTG_Lenovo 2025-07-04 16:20:28 +09:00
parent fdecd195f5
commit 19b30fca5e

View File

@ -1,9 +1,12 @@
using System;
using System.Collections;
using System.IO;
using UnityEditor;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace DDD
{
public static class Utils
@ -40,7 +43,9 @@ public static void MakeFolderFromFilePath(string filePath)
if (Directory.Exists(path) == false)
{
Directory.CreateDirectory(path);
#if UNITY_EDITOR
AssetDatabase.Refresh();
#endif
}
}
}