AssetDatabase.ImportAsset
static function ImportAsset(path: string, options: ImportAssetOptions = ImportAssetOptions.Default): void;
static void ImportAsset(string path, ImportAssetOptions options = ImportAssetOptions.Default);
static def ImportAsset(path as string, options as ImportAssetOptions = ImportAssetOptions.Default) as void
Description

Import asset at path.

All paths are relative to the project folder, for example: "AssetsMyTextureshello.png"

See Also: ImportAssetOptions.