Unable to set up UnityVS/Visual Studio tools for Unity

孤街浪徒 提交于 2019-12-12 03:25:46

问题


I am running Visual Studio 2015 and Unity 5.3.1f1.

No matter what I do, the toolbar does not appear. VS throws an error at the #pragma strict line at the beginning of the code.

I've followed these steps:

  • installed UnityVS
  • found the unity package file and imported it into my project.

I did read somewhere that in newer versions, the toolbar isn't there.

Although intellisense works, it does not seem to be capable of auto-completing anything to do with unity (e.x. transform.position)

How to fix?


回答1:


UnityScript is no longer supported (since 1.9 in Visual Studio Tools for Unity), only c#.

we removed our basic support for UnityScript and Boo to better focus on the C# experience https://msdn.microsoft.com/en-us/library/dn940028.aspx#Anchor_6



来源:https://stackoverflow.com/questions/34582707/unable-to-set-up-unityvs-visual-studio-tools-for-unity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!