- Home /
'Animation' does not contain a definition for 'Play'
Hi, I have error and I can't fix this error alone So I asked here.
I made animations in my project, and I saw that animation running well yesterday.
But when I open my project today morning, I found this error.
"Animation does not contain a definition for 'Play'"
I adjust my animation with codes, and In that codes, animation.Play() and animation.Stop() is red.
I can't understand this error because that is basic function of Animation In Unity.
I can't do anything about this error, Please help me.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220611230248im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Please help me with my 2D animations - c# 2 Answers
Multiple Cars not working 1 Answer
Animation Error 0 Answers
C# Enum for Animation Issue 1 Answer
help me please dont understand problem with animation 0 Answers