AssetDatabase.Refresh Manual     Reference     Scripting  
Scripting > Editor Classes > AssetDatabase
AssetDatabase.Refresh

static function Refresh (options : ImportAssetOptions = ImportAssetOptions.Default) : void

Description

Imediatly 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. As refreshing assets may cause mono assemblies to be reloaded, don't call this function unless you are aboslutely sure what you are doing. Use RefreshDelayed instead.

See Also: ImportAssetOptions.