CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
|
static |
Batch multiple asset file operations to improve execution speed.
Within the massAssetFileEditAction the AssetDatabase will queue any CodeSmileEditor.Asset.File operations and runs them afterwards in a single refresh cycle. This can significantly speed up mass file operations.
The callback Action is safeguarded against exceptions leaving the AssetDatabase in a 'suspended' state. Also note that Allow.. and DisallowAutoRefresh calls are already implied when using Start/StopAssetEditing. See the code snippet below for implementation details.
CAUTION:
massAssetFileEditAction | Write any mass file editing code in this action. |
Definition at line 77 of file Asset.File.cs.