Class AssetReimportUtils
Set of utilities for Material reimporting.
Namespace: UnityEditor.Rendering
Syntax
public static class AssetReimportUtils
Methods
ReimportAll<TAsset>(out Double, out UInt32, Func<String, Boolean>)
Re-imports a given type of asset, and sends an analytic with the elapsed time
Declaration
public static void ReimportAll<TAsset>(out double duration, out uint numberOfAssetsReimported, Func<string, bool> importNeedDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
Double | duration | The elapsed time |
UInt32 | numberOfAssetsReimported | The number of assets that have been re-imported |
Func<String, Boolean> | importNeedDelegate | A delegate if you want to skip some asset to be re-imported |
Type Parameters
Name | Description |
---|---|
TAsset | The asset type that will be re-imported |