Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.