So I have a script that works just fine in other projects but in one project in particular I’m getting this message:
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?)
Somehow or another this project can’t reference Gradient.Evaluate although Gradient still shows up as valid… How can I fix this missing reference? Again this script has no issues in any other project, and I can’t for the life of me figure out why it’s throwing this error in this project…
The script contains these lines at the top which I should cover it. I have not edited the script at all and it is freshly imported from the asset store… (EZ Effects and EZ Object Pools)
using UnityEngine;
using System.Collections;