Unity keeps changing my code! Please help!

I am taking a tutorial and while scripting a window popped up and ask if I wanted to have my script modernized or changed. Now it keeps changing my code and creates errors. Is there a setting to turn this off?

You may be following an older tutorial on a newer version of unity. Try using the version of Unity the tutorial was designed for.

1 Like

Ok, thanks