ParticleSystemSortingOrderEditor
This editor script helps improve performance across multiple VFX assets by allowing you to bulk edit the sorting order of particle systems. It is especially useful when optimizing batch calls for large effect libraries.
The editor lets you drag and drop multiple VFX prefabs, select a target material, and define the sorting order that should be applied to particle systems using that material.
By default, particle systems that use Mesh as their render mode are skipped. To include mesh based particle systems, enable the Process Only Mesh Renderer option.
You can also optionally specify a mesh to target. If a mesh is selected, only particle systems using that mesh will have their sorting order updated. If no mesh is specified, all particle systems that use Mesh as their render mode will be updated, regardless of the assigned mesh.

Last updated