Unity Scripts edited in Visual studio don't provide autocomplete

前端 未结 26 1781
半阙折子戏
半阙折子戏 2020-11-22 10:02

When I want to edit C# Unity scripts, they open in Visual Studio. It is supposed to provide auto complete for all Unity related code, but it doesn\'t work.

Here you c

26条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 10:13

    What worked me is that I copied all the code inside the broken class and removed that file. Then, I opened an empty file and pasted.

    Result: beautiful syntax highlights came back!

提交回复
热议问题