Home

Awesome

Web Socket Unity demos

Azure Web Socket services for Unity

Localhost Web Socket samples for Unity

:octocat: Download instructions

This project contains git submodule dependencies so use:
git clone --recursive https://github.com/Unity3dAzure/UnityWebSocketDemo.git

Or if you've already done a git clone then use:
git submodule update --init --recursive

Setup instructions

How to run the Bing Speech and LUIS Unity demo

  1. Create Bing Speech service in Azure and get a key for the Unity BingSpeechService script.

  2. Sign-in to LUIS and go to My apps section.

  3. Select 'Import new app' and import the sample UnityLUISApp.json file.

  4. Under 'Publish > Resources and Keys' section select 'Add Key'

  5. Copy the key's Endpoint ending in 'q=' into the Unity LUISApp script.

How to run the Bot Framework demo

  1. Create an Azure Bot Service.

  2. In the Azure Bot Service select Channels and add a Direct Line channel.

  3. Copy the Direct Line secret key into the Unity BotService script.

How to run the localhost Web Socket echo demo

  1. Clone the Web Socket server repo and run the echo server.

node ./server-echo.js

  1. Open Unity project's Echo Demo scene in Unity and hit play!

How to run the localhost Web Socket 3d transform JSON demo

  1. Clone the Web Socket server repo and run the json server.

node ./server-json.js

  1. Open Unity project's My Transform Demo scene in Unity and hit play!

Dependencies

Refer to the download instructions above to install these submodules.

Questions or tweet #Azure #GameDev @deadlyfingers