Editor 전처리기 처리2
This commit is contained in:
parent
fdecd195f5
commit
19b30fca5e
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user