For Unity developers looking to use Azure Functions in their Unity game / app.
First download the required dependencies and extract the contents into your Unity project "Assets" folder.
- Download AppServices and REST Client for Unity.
- Copy 'AppServices' and 'RESTClient' into project
Assets
folder.
- Copy 'AppServices' and 'RESTClient' into project
- Create an Azure Function App
- Create an HTTP Trigger function.
Try the Azure Function Demo project for Unity 2017 on Mac / Windows. (The demo project has got everything already bundled in and does not require any additional assets to work. Just hook it up with your Azure Function App account and run it right inside the Unity Editor.)
Requires Unity v5.3 or greater as UnityWebRequest and JsonUtility features are used. Unity will be extending platform support for UnityWebRequest so keep Unity up to date if you need to support these additional platforms.
Intended to work on all the platforms UnityWebRequest supports including:
- Unity Editor (Mac/PC) and Standalone players
- iOS
- Android
- Windows
This is a work in progress so stuff may change frequently.
Questions or tweet @deadlyfingers