Unity Scripts edited in Visual studio don't provide autocomplete

前端 未结 26 1795
半阙折子戏
半阙折子戏 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条回答
  •  萌比男神i
    2020-11-22 10:22

    I hit the same issues today using Visual Studio 2017 15.4.5 with Unity 2017.

    I was able to fix the issue by right clicking on the project in Visual Studio and changing the target framework from 3.5 to 4.5.

    Hope this helps anyone else in a similar scenario.

提交回复
热议问题