ImportAssetOptions Manual     Reference     Scripting  
Scripting > Editor Enumerations > ImportAssetOptions
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.

TryFastReimportFromMetaData

Allow quick reimporting of assets by loading from metadata.

ImportRecursive

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