AssetDatabase.Refresh
static function Refresh(options: ImportAssetOptions = ImportAssetOptions.Default): void;
static void Refresh(ImportAssetOptions options = ImportAssetOptions.Default);
static def Refresh(options as ImportAssetOptions = ImportAssetOptions.Default) as void
Description

Import any changed assets.

This will import any assets that have changed their content modification data or have been added-removed to the project folder.

This method implicitly triggers an asset garbage collection (see Resources.UnloadUnusedAssets).

See Also: ImportAssetOptions.