private void UpdateViews() { AudioMixerWindow window = (AudioMixerWindow) WindowLayout.FindEditorWindowOfType(typeof(AudioMixerWindow)); if (window != null) { window.Repaint(); } InspectorWindow.RepaintAllInspectors(); }