Unity Scripts edited in Visual studio don't provide autocomplete

前端 未结 26 1994
半阙折子戏
半阙折子戏 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:21

    For some odd reason, the "Game development with Unity" tool can become disabled in Visual Studio.

    To fix this..

    1. Open Visual Studio
    2. Go to Extensions → "Manage Extensions" → Installed
    3. Find "Visual Studio 2019 Tools for Unity"
    4. If it is disabled, enable it
    5. Restart VS

    Credit to Yuli Levtov's answer on another Thread

提交回复
热议问题