简体   繁体   中英

How do I make Visual Studios correctly highlight the class blue?

Summary: I'm trying to make my initialized classes (a class called DNA in this case) correctly highlighted blue within Visual Studios. When I try to initialize a class, the text is completely black for the class name. This is a C# script opened from Unity. DNA is correctly made within another script, and it produces no errors.

Problem: 未突出显示的文本(问题)

Goal: 突出显示的文本(目标)

Let me know if I should provide any further information.

Within Unity , go to Edit -> Preferences -> External Script Editor (At the top) Make sure to select visual studios (Browse for it's location if it's not listed automatically). Reopen your scripts and intellisense should work correctly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM