problem with tank tutorial
in Tank Creation & Control when I put the code this error comes
and I do what they say and when I click play I have this problem"All Compiler errors have to be fixed before you can enter play mode" my unity version is 5.50f3 personal and link of this phase is https://www.youtube.com/watch?v=noXtT_zN-84
my problem is in this video from 01:00:00 to the 01:02:00
Answer by HenryStrattonFW · Jan 31, 2017 at 06:34 PM
Your code appears to be doing the following:
m_MovementAudio.clip == m_EngineDriving;
== is a comparison, not an assignment operator. switch this with a single = sign and your errors should be solved.
NOTE: to be clear, keep the == on the if condition check, but change to a single = on the lines that are highlighting with the error.
thanks very much I can't believe that I had this simple mistake I thought that it is very large problem thank you again
No problem It's often the simpler mistakes that we overlook the longest. Best of luck with your project.
Your answer
![](https://koobas.hobune.stream/wayback/20220612110027im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Identical code presenting different results 1 Answer
Tanks Tutorial Image separating 0 Answers
Looking for a turn-based strategy beginner's tutorial. 5 Answers
Tutorial level 1 Answer
2D Rougelike Tutorial-Part 13 -Music Will Not Play 0 Answers