WeaverEditorUtilities.

DeleteEmptyDirectories(string) Method

Summary

[Editor-Only] Deletes the specified directory if it is empty (ignoring metadata files), then does the same recursively for each parent directory. Refreshes the UnityEditor.AssetDatabase if anything was deleted.
Assembly
Weaver.dll
Namespace
Weaver.Editor
Containing Type
WeaverEditorUtilities

Syntax

public static void DeleteEmptyDirectories(string path)

Parameters

Name Type Description
path string

Return Value

Type Description
void