compile error

Very strangely,i’ve been getting this error code here:

Assets/SampleAssets/Effects/ImageEffects (Pro Only)/Scripts/EdgeDetectEffectNormals.cs(33,33): error CS0507: UnitySampleAssets.EdgeDetectEffectNormals.CheckResources()': cannot change access modifiers when overriding public’ inherited member `PostEffectsBase.CheckResources()’
Help?

This compiler error will occur when you have a derived class overriding a member with a diffrent access modifier.

Look at the access modifiers on CheckResources() in PostEffectsBase.
And make sure CheckResources() in EdgeDetectEffectNormals has the same modifier,

In ur case CheckResources() in EdgeDetectEffectNormals need a public modifier.