AssetDatabase.CreateFolder 创建文件夹

static function CreateFolder (parentFolder : String, newFolderName : String) : String

Parameters参数

Returns

String - the GUID of the newly created folder * string guid = AssetDatabase.CreateFolder("Assets", "My Folder"); * string newFolderPath = AssetDatabase.GUIDToAssetPath(guid);

Description描述

Create a new folder.

创建一个新的文件夹。

Page last updated: 2011-10-1