ドキュメント

Unity Engine

Unity Engine

SubsystemRegistration

Callback invoked when starting up the runtime. Called before the first scene is loaded.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
SubsystemRegistration = 4

Remarks

For new code, use OnCodeInitializingAttribute instead for better resource pre-allocation timing. For more information, refer to Code reload and the code lifecycle in the manual.
For more information on the execution order of this option relative to the others, refer to RuntimeInitializeOnLoadMethodAttribute.