We have implemented an abstract LightBuzzMobileServiceClient class that handles all of the underlying Azure functionality and the data-to-C# object mapping. You can also specify whether you would like to have local SQLite database support: private bool supportLocalDatabase = true To use the sample, you need to sign up for a free Azure account and create an App Service with a simple ToDo table.Īfter you clone or download the repository, open the Samples folder and locate the Sample.cs file.įor your convenience, the SDK is using the LightBuzz service URL by default: private string mobileAppUri = "" In the included samples, we have created a simple demo that implements Microsoft’s ToDo List example. We have done all of the heavy-lifting, so the SDK will automatically apply the proper build settings for you! How to use On the Unity menu bar, select LightBuzz → Apply Build Settings for… and then select the target platform. Using the SDK, you can apply the proper Unity Build Settings automatically. In Unity 2017, you need to explicitly select Experimental (.NET 4.6 Equivalent). In Unity 2018, the scripting runtime is set to 4.x by default. The SDK is built with the latest C# features, so you need to use the. To use the SDK, Unity 2017 LTS or Unity 2018 is recommended. Universal Windows Platform (UWP) + HoloLens.The LightBuzz Azure SDK for Unity supports every major Unity platform: For UWP, we are using SQLitePCL, which is Microsoft’s recommendation for Windows Store apps. SQLite is the most popular and lightweight relational database system for desktop and mobile devices. The local database is using the official version of SQLite. You can sync your local data with the remote server, performing pull and push operations.Īs a result, your customers can use your app or game without an active Internet connection! Your app will store the data locally and will sync with the remote server when an active Internet connection is available. This means you can use the Azure App Services to store data into a local SQLite database. Unlike most of the available SDKs, the LightBuzz Azure SDK for Unity fully supports local database storage. You do not need to do any special changes to support HTTPS, other than providing the “ URL to your Azure Web App. This way, your data is encrypted and transmitted securely. Our team has built the HTTP requests from scratch using the UnityWebRequest class. The native Microsoft HttpClient modules do not support HTTPS in Unity. The LightBuzz SDK is built with security in mind. The SDK supports all of the HTTP(S) method requests on every platform. Azure App Service Web Apps (or just Web Apps) are cloud services for hosting web applications, REST APIs, and mobile backends. The LightBuzz Azure SDK for Unity consumes Azure App Service APIs. The whole project is hosted on GitHub - remember to give it a thumbs-up! Now, I am going to give you an overview of the Azure SDK for Unity. Oh, did I mention that it’s open-source, too? The framework supports all of the major Unity platforms, including Android, iOS, Windows Standalone, Mac OS, UWP, and HoloLens. The SDK allows you to consume remote Azure App Services and even store data locally in a SQLite database. LightBuzz is presenting the first complete Azure SDK for Unit圓D. However, as of now, there was no Azure support for Unit圓D. If you are an application developer, connecting a powerful engine with a powerful Cloud system is crucial for reaching more customers. Unit圓D is the leading game development and Mixed Reality engine, currently touching more than 770 million gamers globally. So, when it comes to developing a project with global reach, Microsoft Azure is a good and reliable option. It’s easy to use, provides a lot of customizable services and has global availability with 50 regions worldwide. Microsoft Azure is the leading cloud solution and a personal favorite when it comes to secure and compliant cloud providers.
0 Comments
Leave a Reply. |