Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AssetDatabase.GetSubFolders

Switch to Manual
public static function GetSubFolders(path: string): string[];

Parameters

Description

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