Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetDatabase.WriteImportSettingsIfDirty

static function WriteImportSettingsIfDirty(path: string): bool;
static bool WriteImportSettingsIfDirty(string path);
static def WriteImportSettingsIfDirty(path as string) as bool

Description

Writes the import settings to disk.

In order to make the cache server import assets.