GetPostprocessOrder()
Returns the execution order priority for this asset postprocessor.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual int GetPostprocessOrder()
Returns
Type | Description |
|---|---|
| int |
Remarks
Override this method to control the execution order of multiple asset postprocessors. Return an integer value where lower values are processed first.
The default implementation returns 0. Postprocessors with negative values run before the default, and positive values run after.
This method doesn't affect the execution order of AssetPostprocessorOnPostprocessAllAssets callbacks, which use dependency attributes instead.