How to get intellisense in Visual Studio Code for Unity functions names?

后端 未结 7 2221
独厮守ぢ
独厮守ぢ 2020-12-07 00:30

I am following a tutorial about Unity and I see that the instructor has intellisense when writes the method\'s name.

However I have only intellisense with classes an

7条回答
  •  长情又很酷
    2020-12-07 00:50

    Old question, but I had the same problem just recently.

    There must have been an issue in your Assembly-CSharp.csproj or project-name.sln files. Most likely to be the .csproj file. If you take a look at it, you will see various references to .dll files.

    You can tell Unity (my version: v2019.2.20f1) to create these for you by enabling Edit > Preferences > Generate all .csproj files.

     1. Delete both files.
     2. Enable .csproj file generation.
     3. Double click on a script in Unity.
    

    This fixed my issue.

提交回复
热议问题