Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPostprocessOrder()

Returns the execution order priority for this asset postprocessor.
Read time 1 minuteLast updated 6 days ago

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.