无法为Unity设置UnityVS/Visual Studio工具 [英] Unable to set up UnityVS/Visual Studio tools for Unity
问题描述
我正在运行Visual Studio 2015和Unity 5.3.1f1.
I am running Visual Studio 2015 and Unity 5.3.1f1.
无论我做什么,工具栏都不会出现. VS在代码开头的#pragma strict
行中引发错误.
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:
- 已安装
UnityVS
- 找到了统一软件包文件并将其导入到我的项目中.
我确实读过某个地方,在较新的版本中,工具栏不存在.
I did read somewhere that in newer versions, the toolbar isn't there.
尽管智能感知有效,但它似乎无法自动完成与统一有关的任何事情(例如transform.position
)
Although intellisense works, it does not seem to be capable of auto-completing anything to do with unity (e.x. transform.position
)
如何解决?
推荐答案
不再支持UnityScript(自Visual Studio Tools for Unity 1.9开始),仅支持c#.
UnityScript is no longer supported (since 1.9 in Visual Studio Tools for Unity), only c#.
我们删除了对UnityScript和Boo的基本支持,以更好地关注C#体验 https://msdn.microsoft.com/en-us/library/dn940028 .aspx#Anchor_6
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
这篇关于无法为Unity设置UnityVS/Visual Studio工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!