private void OnInspectorUpdate() { if (_isInitialized) { _widgets.Update(); Repaint(); } if (EditorApplication.isCompiling) { Close(); } }