Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetDatabase.GetSubFolders

public static string[] GetSubFolders(string path);

Description

Given an absolute path to a directory, this method will return an array of all it's subdirectories.