Topic: Script conflict with Unity

The script Gradient appears to conflict with uses of Unity's own Gradient.  I received the following error when importing EZ Effects from the asset store...


Assets/EZ Effects/Scripts/ComplexLight.cs(118,49): error CS1061: Type `Gradient' does not contain a definition for `Evaluate' and no extension method `Evaluate' of type `Gradient' could be found (are you missing a using directive or an assembly reference?)

This error goes away and it functions great when the UFE script Gradient is deleted or renamed... but I'd still like to use it of course.

Share

Thumbs up Thumbs down

Re: Script conflict with Unity

You can delete the UFE Gradient script if you're not using it for anything.

Share

Thumbs up Thumbs down