Home

Awesome

Software License PRs Welcome unofficial Google Analytics for GitHub

Azure Services For Unity (Mobile Apps/App Service - Table Storage/CosmosDB Table API - Event Hubs)

A library to access and use various Azure services useful for games written in Unity game engine. Includes (a) an SDK and (b) sample code that uses the SDK.

Azure services that can be used with this library

Azure App Service / Mobile Apps

Microsoft Azure has a great service to host apps called App Service which allows you to connect and expose a database via an awesome feature called Easy Tables. App Service also allows you to easily created various API endpoints for your game, via the Easy APIs feature. Easy Tables are a features of Azure Mobile Apps.

Azure Table Storage

Azure Storage has a NoSQL key-value store called Table Storage Service which can be used to store precious data for your game (such as highscores, save data, chat logs etc.). This library also contains some methods to access Table Storage Service from within a Unity game.

Azure CosmosDB with Table API

The same code that is used for Table Storage can be used to access the globally distributed database called CosmosDB using Table API.

Azure Event Hubs

You can also send data to Azure Event Hubs, a hyper-scale telemetry ingestion service that collects, transforms, and stores millions of events.

Contents

In the project source files you can find three scenes, one that contains demos for App Service, one for Table Storage and one for Event Hubs.

There are three blog posts that describe the library and its usage

Usage

FAQ

I want to add Facebook authentication to my game. How can I do that?

On the server side you would want to do this. On the client side, check the Facebook Unity SDK. For other providers, chec here.

I want more information regarding App Service Authentication

For more information regarding Azure App Service Authentication check this GitHub repo.

Are you using any external plugins?

Nope, on purpose. One of the original goals of this library was to be plugin-free.

Which platforms does this work?

Hopefully on every platform supported by Unity. If you found a platform that this does not work, ping me!

Can I use this SDK to access the CosmosDB Table API?

Yup, raise an issue if you have problems accessing it.

I have a problem with the library, how can I report it?

Use the Issues tab.

Do you accept Pull Requests?

Sure, go ahead!