Visual Studio Text Colors

Updated on April 29, 2018 in General
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
6 on April 28, 2018

So I have downloaded Brackeys settings but it seems to be missing colours: [RequireComponent], Monobehaviour, Input, Vector3 etc. They are supposed to be marked with green colour but I have them white. Too bad i cant uplad a image. 

 

Someone know why this is?

  • Liked by
Reply
0 on April 28, 2018

That may be Unity loosing the Mono references.

Does you game run at all if you try using those scripts?

 

  • Liked by
Reply
Cancel
1 on April 28, 2018

Yeah everything works fine. Its just I prefer looking at them when they are green. 

It also helps reading the code.

on April 28, 2018

Classes should be green by default.
Of you make your own class, is it green?
If it is, then unity’s dll are messed up.

Show more replies
  • Liked by
Reply
Cancel
1 on April 28, 2018

Here is a picture by URL: https://imgur.com/kxRIRUO 

Its so odd, shouldn’t [SerializeField] be green too…

on April 29, 2018

Oh. I see what you mean now.
What version of VS are you using?

Show more replies
  • Liked by
Reply
Cancel
0 on April 29, 2018

The 2017 version it says when i open it.

  • Liked by
Reply
Cancel