An attribute that sets a script's execution order
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ExecutionOrderAttribute
.gitignore
LICENSE
README.md

README.md

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

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.