Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


defaultexecutionorder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
defaultexecutionorder [2021/04/30 15:28] – created sam_suitedefaultexecutionorder [2025/01/15 04:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== DefaultExecutionOrder ====== ====== DefaultExecutionOrder ======
  
-An undocumented attribute that modifies the execution order of event functions in a MonoBehaviour class. This functionality is identical to the [[https://docs.unity3d.com/Manual/class-MonoManager.html|Script Execution Order settings]] in the Project Settings window, except that it's encoded directly in the script instead of through the editor.+An undocumented attribute that modifies the execution order of all event functions in a MonoBehaviour class. This functionality is identical to the [[https://docs.unity3d.com/Manual/class-MonoManager.html|Script Execution Order settings]] in the Project Settings window, except that it's encoded directly in the script instead of through the editor.
  
 It has a single integer argument: the offset for the execution order. Negative numbers are early, positive numbers are late. For example: It has a single integer argument: the offset for the execution order. Negative numbers are early, positive numbers are late. For example:
defaultexecutionorder.1619796495.txt.gz · Last modified: 2025/01/15 04:35 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki