I have an editor extension (inherits from Editor) where I'm running stuff in OnSceneGUI ( ). The problem is, the code only runs when the scene view is being updated. I'd like my code to run every second rather than contain it in OnSceneGUI. Any ideas on how to do that? Much appreciated EDIT: Rather than make a new thread - does anybody also happen to know how to detect sleep / idle in an Editor script? This would be in the same script as above!