public static void SetEnable(bool state)
        {
            CompileNotificationViewPrefs.enable = state;

            EditorApplication.update     -= Update;
            SceneView.onSceneGUIDelegate -= OnSceneView;

            var labelStyleState = new GUIStyleState();

            labelStyleState.textColor = Color.white;

            labelStyle        = new GUIStyle();
            labelStyle.normal = labelStyleState;

            if (onCompileFinishDisposable != null)
            {
                onCompileFinishDisposable.Dispose();
            }

            if (state)
            {
                EditorApplication.update     += Update;
                SceneView.onSceneGUIDelegate += OnSceneView;

                onCompileFinishDisposable = CompileNotification.OnCompileFinishAsObservable().Subscribe(
                    _ =>
                {
                    SceneView.RepaintAll();
                });
            }
        }
        public static void SetEnable(bool state)
        {
            CompileNotificationViewPrefs.enable = state;

            SceneView.onSceneGUIDelegate -= OnSceneView;

            var labelStyleState = new GUIStyleState();

            labelStyleState.textColor = Color.white;

            if (onCompileFinishDisposable != null)
            {
                onCompileFinishDisposable.Dispose();
            }

            if (state)
            {
                backgroundTexture = EditorGUIUtility.whiteTexture;

                SceneView.onSceneGUIDelegate += OnSceneView;

                onCompileFinishDisposable = CompileNotification.OnCompileFinishAsObservable().Subscribe(
                    _ =>
                {
                    SceneView.RepaintAll();
                });
            }
        }