ImportAssetOptions Enumeration

Asset importing options.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: AssetDatabase.ImportAsset, AssetDatabase.Refresh.

Values
Default

Default import options.

ForceUpdate

User initiated asset import.

ForceSynchronousImport

Import all assets synchronously.

ImportRecursive

When a folder is imported, import all its contents as well.

DontDownloadFromCacheServer

Force a full reimport but don't download the assets from the cache server.

ForceUncompressedImport

Forces asset import as uncompressed for edition facilities.