官术网_书友最值得收藏!

Installing UWP support in Visual Studio

When you install Unity, you have the option to install Microsoft Visual Studio Tools for Unity as the default script editor. It's a great editor and debugging environment. However, this edition installed with Unity is not a full version of Visual Studio. To target your build as a separate UWP app, you will need to use a full version of Visual Studio. 

Visual Studio is a powerful integrated developer environment (IDE) for all kinds of projects. When we build for UWP from Unity we will actually build a Visual Studio-ready project folder that you can then open in VS to complete the compile, build and deploy process, to run the app on your device.

Visual Studio comes in three editions, Community, Professional, and Enterprise; any of these are sufficient for us. The Community version is free and can be downloaded from here: https://www.visualstudio.com/vs/.

Once the installer is downloaded, open it to choose which components to install. Under the Workloads tab we have selected:

  • Universal Windows Platform development
  • Game development with Unity

Also, select the Game development with Unity options, as follows:

We can now go into Unity. First, we should make sure Unity knows we're using Visual Studio:

  1. Go to Edit | Preferences
  2. In the External Tools tab, make sure Visual Studio is selected as your External Script Editor, like so:

主站蜘蛛池模板: 凌源市| 确山县| 怀远县| 凌源市| 长泰县| 扶绥县| 桐柏县| 徐州市| 池州市| 安吉县| 修水县| 周口市| 博爱县| 垫江县| 北辰区| 和平区| 北京市| 海兴县| 米脂县| 榆中县| 海口市| 赣榆县| 攀枝花市| 香河县| 宣汉县| 湖北省| 芷江| 台北县| 西充县| 德庆县| 松原市| 景泰县| 绵阳市| 离岛区| 海南省| 锡林郭勒盟| 嫩江县| 柯坪县| 宁武县| 桦川县| 永康市|