기술 자료

Unity Engine

Unity Engine

RuntimeInitializeOnLoadMethodAttribute

Use the RuntimeInitializeLoadType to control when the callback is invoked.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

RuntimeInitializeOnLoadMethodAttribute()

Use the RuntimeInitializeLoadType to control when the callback is invoked.
public RuntimeInitializeOnLoadMethodAttribute()

Remarks

RuntimeInitializeOnLoadMethodAttribute(RuntimeInitializeLoadType)

Use the RuntimeInitializeLoadType to control when the callback is invoked.
public RuntimeInitializeOnLoadMethodAttribute(RuntimeInitializeLoadType loadType)

Parameters

Specifies when the callback is invoked during the start up of the runtime.

Remarks