In which course and lecture are you? MonoBehaviour does not have the same colour as your classname. This indicates a problem in VS. If you are enrolled in our Unity 2D course, please watch lecture “Fixing Visual Studio Problems” (currently #4).
I’m in the Complete C# Unity Game Developer 3D. Everything worked fine. I think this problem appeared after some updates. I tried other Unity versions t it’s the same. Creating new projects does’nt work either.
I also tried to reinstall VS but had no luck. The problem remains.