![]() |
CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
Groups all asset database functionality. More...
Collaboration diagram for Asset.Database:Classes | |
| class | CacheServer |
| Groups CacheServer (Accelerator) related functionality. More... | |
Static Public Member Functions | |
| static void | AllowAutoRefresh () |
| Will allow Unity to automatically import assets. | |
| static Boolean | Contains (Int32 instanceId) |
| Tests if the asset is in the database. | |
| static Boolean | Contains (Object instance) |
| Tests if the asset is in the database. | |
| static void | DisallowAutoRefresh () |
| Will stop Unity from automatically importing assets. | |
| static void | ImportAll (ImportAssetOptions options=ImportAssetOptions.Default) |
| Scans for external file system modifications and updates the Database accordingly. Prefer to use CodeSmileEditor.Asset.File.Import within CodeSmileEditor.Asset.File.BatchEditing. CAUTION: ImportAll ('Refresh') unloads unused resources. This can degrade editor performance! | |
| static void | ReleaseFileHandles () |
| Releases any cached file handles that Unity holds. | |
| static void | SaveAll () |
| Saves all unsaved (dirty) assets. | |
| static void | UpgradeAllAssetSerializationVersions () |
| Updates all native asset files to reflect any changes in serialization in the current editor version. | |
| static void | UpgradeAssetSerializationVersion ([NotNull] IEnumerable< Path > paths, ForceReserializeAssetsOptions options=ForceReserializeAssetsOptions.ReserializeAssetsAndMetadata) |
| Updates all native asset files to reflect any changes in serialization in the current editor version. | |
| static void | UpgradeAssetSerializationVersion ([NotNull] IEnumerable< String > paths, ForceReserializeAssetsOptions options=ForceReserializeAssetsOptions.ReserializeAssetsAndMetadata) |
| Updates all native asset files to reflect any changes in serialization in the current editor version. | |
Properties | |
| static Int32 | DesiredWorkerCount [get, set] |
| Gets or sets the desired worker count. | |
| static Boolean | DirectoryMonitoring [get, set] |
| Returns whether directory monitoring is enabled in Preferences. | |
Groups all asset database functionality.
Turns out there isn't actually that much that is 'database' related after all.
Definition at line 12 of file Asset.Database.CacheServer.cs.