This version of Unity is unsupported.

RuntimeInitializeOnLoadMethodAttribute Constructor

Declaration

public RuntimeInitializeOnLoadMethodAttribute();

Declaration

public RuntimeInitializeOnLoadMethodAttribute(RuntimeInitializeLoadType loadType);

Parameters

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

Description

Use the RuntimeInitializeLoadType to control when the callback is invoked.