public Animation legacyAnim not turning blue

When I got to the part where you created the public variable for Animation mine does not turn blue and when you hover over the word Animation it says "error CS0103 : The name 'Animation" does not exist in the current context".....but im trying to create it right now sooo yes it does? hah I am just lost on that. I typed in exactly what you typed character for character but im receiving this error.

  • Jonathan Gonzalez(jgonzalez) replied

    I just tried it myself with Unity 2017 and it seems to be working fine. Was able to play the animation as well just to ensure it was indeed working properly. Make sure you don't have any typos anywhere. If everything looks fine, I would just type it out as shown in the video and save the script. Sometimes it can be a bit buggy and it won't recognize things initially. If all else fails I'd try it with a new script altogether. I've had issues in the past where I knew I was writing it out correctly but the editor just wasn't taking it, and recreating the script seemed to work. 

  • alegel replied

    Thanks Jonathan! I will try this as soon as I get home. My initial thought was there was a compatibility issue with Unity since the video was created. Do you know of any snags this bootcamp series might run into with the newest version of Unity? That was my initial concern when i jumped into this series.