This attribute can be applied to static void parameterless functions.
This will cause those functions to be invoked during the first cycle of EditorApplication.update. So, the editor will have finished loading.
|
class | InitializeOnEditorReloadedSetup |
| This class is used internally, and not intended for end user use. Invokes OnLoad, and ensures that all methods found with the InitializeOnEditorReloadedAttribute applied will be invoked upon the first EditorApplication.Update cycle. This happens by hooking to the EditorApplication.Update during InitializeOnLoad. Then, when the delegate is invoked: executing all the methods found with this attribute, then unhooking from the delegate.
|
|
|
bool | allowExecutionOnPlay |
| When true, the method this attribute is applied to will execute when the user clicks play in the editor. When false, it will not execute when the user clicks play.
|
|
Inherits Attribute.