文档

Unity Engine

Unity Engine

RuntimeInitializeOnLoadMethodAttribute

Use the RuntimeInitializeLoadType to control when the callback is invoked.
阅读时间1 分钟最后更新于 13 小时前

Definition

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