Unity3D-ExecutionOrderAttribute

December 11, 2015 ยท View on GitHub

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

Testers

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

Result

Result

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