Editor Window Update

Hi, I have probably simple question. I would like to update my script in editor window (editor plugin), but Update() event is called just if window is visible. Is there way how to update script in background too ? The script is doing something automatic and I don’t need to have visible still.
Thanks.

You need Update delegate on EditorApplication, not Update function. You probably also want InitializeOnLoad attribute. Google will get you there from those.

Or here: How do i get a callback every frame in edit mode - Questions & Answers - Unity Discussions