- Home /
Question by
Jar3k · Dec 05, 2014 at 10:57 PM ·
editor-scriptingeditorwindow
EditorWindow visibility
I am working on an extension and I need to know when custom EditorWindow is not visible (clicking on another Tab in an interface, so other Window is being shown).
I need to find out when this showing and hiding of EditorWindow happen and perform some actions when it happens.
I thought OnEnable and OnDisable would be functions to use but unfortunately this doesn't work. Any suggestions?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613173333im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
mouseposition and clicks in editor sceneview 0 Answers
EditorWindow, Utility Popup, not using custom PropertyDrawers 0 Answers
EditorWindow reference to other scripts functions 0 Answers
Weird bug when dragging object onto EditorGUILayout.ObjectField 0 Answers
Creating Editor 2D Animation Preview 2 Answers