AssetDatabase.ImportAsset Manual     Reference     Scripting  
Scripting > Editor Classes > AssetDatabase
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.