Unity3D-ExecutionOrderAttribute
Unity3D-ExecutionOrderAttribute copied to clipboard
An attribute that sets a script's execution order
Unity3D-ExecutionOrderAttribute
An attribute that sets a script's execution order
- Works on MonoBehaviours and ScriptableObjects
- No need to open the Script Execution Order settings menu
Code

All you need to do is add the [ExecutionOrder(...)] line on top of your class and you are good to go.
Result

Every time your code gets recompiled the attributes get checked and updated in the Script Execution Order list.