Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AfterSceneLoad

Callback invoked when the first scene's objects are loaded into memory and after Awake has been called.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
AfterSceneLoad = 0

Remarks

At this point active objects can be found with Object.FindObjectsByType. Before this point the first Scene's objects are considered inactive regardless of their serialized active state.
For more information on the execution order of this option relative to the others, refer to RuntimeInitializeOnLoadMethodAttribute