기술 자료

Unity Engine

Unity Engine

SubsystemRegistration

Callback invoked when starting up the runtime. Called before the first scene is loaded.
읽는 시간 1분최근 업데이트: 16일 전

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.