I just downloaded the visual studio but the color of the commands is the same
Is there any way to change the color of the variables, comments and other commands like this?
I’ve found how to do it through options but the color of variables it doesn’t change.
Any idea how to do the variables in the first picture (movement, player) a different color like the variable in the second picture (plane)?
I haven’t been using VS for a long time, but those colors don’t seem correct.
Unless … if you’re using Visual Studio Code, don’t know about that. If so, install VS Community, it’s far better for programming with Unity.
If you use the real VS then perhaps try deleting the .sln and .csproj files and restart VS.
I fix the problem.
The problem was that i haven’t downloaded the unity components for visual studio so the VS was not able to recognize the commands like “transform”. Also, for some reason, i had to create a completely new project to make VS recognize the unity commands.
By the way, i downloaded the visual studio from unity hub. It’s the community version, or at least that’s what it says in unity hub.
I hope that i downloaded the correct version of VS, if not please let me know to download the correct one.