ParticleSystemSortingLayerEditor
This script is used to bulk edit sorting layer IDs of particle systems, which can be very useful for reducing batch draw calls when working with particle effects that use meshes.
In many VFX assets, meshes are grouped using the Order In Layer value of the particle system renderer. However, Unity can only batch meshes efficiently if each mesh has a distinct sorting configuration. You can either assign unique order values for every mesh manually, or use this script to move them into dedicated sorting layers without managing order values yourself.
To use the tool, navigate to:
Tools → SF Studio → Particle System Utils → Sorting Layer Editor
Then follow these steps:
Drag and drop all relevant particle system prefabs into the editor.
Select the mesh you want to filter for.
Choose the sorting layer that should be assigned to all particle systems using that mesh.
This workflow keeps your setup clean and scalable while helping Unity batch particle meshes more efficiently.

Last updated