... is inaccessible due to its protection level

Hi all,

many thanks in advance for your help.

When trying to run a game, I alway get follow error

Is there an easy way to solve this? The start of the Code where it seems to appear looks like this:

using System;
using UnityEditor;
using UnityEditor.AnimatedValues;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
    [CustomEditor(typeof(CreaseShading))]
    class CreaseShadingEditor : Editor {
        SerializedObject serObj;

        SerializedProperty m_intensity;
        SerializedProperty m_softness;
        SerializedProperty m_spread;

        AnimBool m_showSoftnessWarning = new AnimBool();
        AnimBool m_showSpreadWarning = new AnimBool();

        private bool softnessWarningValue { get { return m_softness.intValue > 4; } }
        private bool spreadWarningValue { get { return m_spread.floatValue > 4; } }

        void OnEnable () {
            serObj = new SerializedObject (target);

            m_intensity = serObj.FindProperty("intensity");
            m_softness = serObj.FindProperty("softness");
            m_spread = serObj.FindProperty("spread");

Many thanks and best in advance!

The cause of this error is that CreaseShading is not defined. It’s not one I know, and I couldn’t find it in the API docs. Are you missing a using, or is this a typing error?