ドキュメント

Unity Engine

Unity Engine

AfterSceneLoad

Callback invoked when the first scene's objects are loaded into memory and after Awake has been called.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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