다음을 통해 공유


如何将 Unity3D 游戏移植到 Universal Apps

你是不是用 Unity 引擎来开发 iOS 或者 Android 的游戏? 如果你不知道,Unity 都可以开发 Windows Phone 8.0 / 8.1, Windows Store Apps 8.0 / 8.1, 和 Universal Apps。 移植你的游戏到微软开发平台是免费支持,不需要买 Unity Pro licenses 。以下的链接可以让开发者多了解移植过程。我会从 Unity 的 Build Settings 构建一个Windows, Windows Phone, 或 Universal Apps 的版本。我会带着大家来更改硬件的问题,例如:分辨率,内存,纹理,键盘,等等。我会让大家了解 .NET API 的差别在哪里,然后介绍几个方案来解决问题:

方案:

  1. Unity插件, 例子:Github Unity Porting Lab Plugins
  2. Action (void delegate), 例子: WindowsGateway.cs
  3. Global instances, 例子: GameManager.cs
  4. Proxy Interface, 例子: Json.cs

 

重要资源:

 代码分享:

插件下载:

 

How to Port Unity3D Games to Windows Phone 8.x / Windows 8.x

Do you create iOS or Android games in the Unity engine? If you don't already know, Unity supports games and apps development for Windows Phone 8.0 / 8.1, Windows Store Apps 8.0 / 8.1, and Universal Apps. Porting to the Microsoft platforms are freely supported in Unity, without the need to buy Unity Pro licenses. The useful resources list out helpful links to learn how to port your game to the Microsoft platforms. I will begin by using Unity's Build Settings to build a Windows, Windows Phone, or Universal Apps version. I will then show everyone how to fix common hardware issues like resolution, memory, textures, keyboard support, and more. Then, I will run through common .NET API errors, and a range of solutions based on different use cases.

Use Cases:

  1. Unity Plugins, ie: Github Unity Porting Lab Plugins
  2. Action (void delegate), ie: WindowsGateway.cs
  3. Global instances, ie: GameManager.cs
  4. Proxy Interface,ie: Json.cs

 

Useful Resources:

 

Thanks for reading,

Elissa

20141017 Porting Unity3D Games to WP81.pdf