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

defaultexecutionorder [2021/04/30 15:28]
sam_suite created
defaultexecutionorder [2021/04/30 15:29] (current)
sam_suite
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.txt ยท Last modified: 2021/04/30 15:29 by sam_suite