1.UnityVS 2012 下载地址:
https://visualstudiogallery.msdn.microsoft.com/20b80b8c-659b-45ef-96c1-437828fe7cf2
2.安装之后,打开Unity3d,并没有像官网和帖子里面提到的,能在Unity3d Editor 右键->Import Package中发现 Visual Studio 2012 Tools.unitypackage的包。
3.手动找一下,到c盘或者其他盘中,找到Unityvs的安装路径。我的在C:\Program Files (x86)\Microsoft Visual Studio Tools for Unity
安装路径名称是Microsoft Visual Studio Tools for Unity
4.到UnityVS安装路径下C:\Program Files (x86)\Microsoft Visual Studio Tools for Unity\2012,看到有个 UnityVS.OpenFile.exe和Visual Studio 2012 Tools.unitypackage。
5.在Unity3d Editor中设置打开工程的默认工具 为 UnityVS.OpenFile.exe
Editor->Preferences->External tools->External scripts Editor->选择Browse,找到UnityVS.OpenFile.exe
6.导入Visual Studio 2012 Tools.unitypackage
在UnityEditor Project 右键->Import package-> Custom Package,到UnityVS安装路径下选择Visual Studio 2012 Tools.unitypackage。
7.回到UnityEditor,在菜单栏上会出现 Visual Studio Tools,点击,选择Generate Project Files(为了生成适用于 UnityVs的工程文件),大功告成!
8.可以直接双击脚本,打开的VS会有UnityVS的设置,也可以再菜单栏上点击 Visual Studio Tools->Open in Visual studio
9.享受新版本的UnityVS吧!