Unable to set up UnityVS/Visual Studio tools for U

2019-09-13 20:27发布

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条回答
叼着烟拽天下
2楼-- · 2019-09-13 21:10

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

查看更多
登录 后发表回答