Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AssetDatabase.ImportAsset

public static void ImportAsset(string path, ImportAssetOptions options = ImportAssetOptions.Default);

Description

Import asset at path.

All paths are relative to the project folder, for example: "Assets/MyTextures/hello.png"

See Also: ImportAssetOptions.

Did you find this page useful? Please give it a rating: