Example #1
0
        public static void CreateUnityFolder(string childPath)
        {
            var fullPath = UnityPathUtility.GetUnityAbsoluteFolderPath(childPath);

            if (CSharpFileUtility.IsFolderExist(fullPath) == false)
            {
                Directory.CreateDirectory(fullPath);
                RefreshAsset();
            }
        }
Example #2
0
 public static bool IsUnityFolderExist(string childPath)
 {
     return(CSharpFileUtility.IsFolderExist("Assets/" + childPath));
 }