October 22, 2017

Recommended Readings: Developing Your First Game with Unity and C#

unityc

Develop for HoloLens is develop UWP apps for Windows 10, right? Because all UWP apps run on HoloLens. Theoretically true, in reality false.

If develop for HoloLens is all about develop for UWP, then the notion of developing for HoloLens wouldn’t exist. In reality, develop for HoloLens is about taking advantage of HoloLens in mixed reality. One important element is 3D. Your choices are 1. Code directly on DirectX, which is generally a hard thing to do. 2. Use a third party 3D engine. If you choose number 2, then Unity is your obvious choice.

Unity is a 3D/2D game engine, but its use is not limited to game. One thing keep in mind though, game and app are totally different thing. A game runs on frames, visuals are upgrade once per frame, and it is running on a game loop. If you are developing a normal application, you probably don’t want that to happen. One thing I don’t have answer though: can Unity help with a non-game application? In the old day of XNA, there is a mixed mode: Silverlight + XNA, they interact with each other. I will have to leave the readers to figure this out.

If you are writing a general app, and use 3D rendering lights, code in DirectX would be a better choice, but again, you would have to go C++, instead of C#, because currently there is good interface between .NET and DirectX 12. If you are writing games, of mostly game like application, Unity would be your choice. Here are a few post from Adam Tuliper, senior technical evangelist with Microsoft, that will get you started with Unity in C#.

Developing Your First Game with Unity and C#
Developing Your First Game with Unity and C#, Part 2
Developing Your First Game with Unity and C#, Part 3
Developing Your First Game with Unity and C#, Part 4
Cross-Platform Game Development with Visual Studio Tools for Unity