InitializeOnLoad
Allow an editor class method to be initialized when Unity loads without action from the user.
Implementation
[InitializeOnLoadMethod]
private static void InitializeOnLoad();
Reference
Last updated
Was this helpful?