AssetDatabase.ImportAsset 导入资源

static function ImportAsset (path : string, options : ImportAssetOptions = ImportAssetOptions.Default) : void

Description描述

Import asset at path.

导入指定路径的资源。

All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png" See Also: ImportAssetOptions.

所有的路径都是相对于工程目录文件。 例如” Assets/MyTextures/hello.png”。

参见:ImportAssetOptions

Page last updated: 2011-5-31