Information
English (United States)
Description
This a demo app for the Unity asset “Use WinRT / UWP API in Windows Store Apps”, which you can find in the Unity Asset Store. The demo shows how you can interact with XAML controls and use WinRT APIs such Speech from a Unity app. You can invoke WinRT API from Unity when you target Windows Store apps, but because most of those API use modern features of C# not supported by the Mono version used by Unity (like async calls) you cannot really use them. You also cannot use XAML controls easily. This asset contains scripts for Unity and a package for your Windows Store Application project that stablish a connection between your unity scripts and your WSA classes, so you can use it to call UWP APIS and use XAML controls that you define with Visual Studio from and back to Unity. This demo also demonstrate that the connection is not broken when you load another scene.