Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RuntimeInitializeOnLoadMethodAttribute

Namespace: UnityEngine

Switch to Manual

Description

Allow an runtime class method to be initialized when Unity game loads runtime without action from the user.

no example available in JavaScript