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.
Static Public Member Functions | |
static void | OnEditorUpdate () |
Callback function to be executed, once, on EditorApplication.update. It is immediately removed from the delegate when invoked, so it will only run once. | |