Loading...

Unity Tool - Foldergenerator

Getting tired of creating an entire folder structure everytime you create a new Unity project?
HKU
  • Date:
    01-11-2016
  • Link:
    Github
  • Language:
    C#
  • Software:
    Unity
  • Platform:
    Unity Editor
  • Type:
    Unity,
public static bool Generate(FolderTree folderTree) {
    if (folderTree.TreeElements.Count < 2)
        return false;

    foreach (var element in folderTree.TreeElements)
        DirectoryUtility.CheckAndCreateRelative(element.GetPath());
        
    AssetDatabase.Refresh();
   return true; 
}

Activity Diagram

This website uses cookies to ensure you get the best experience on my website