GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Unity3dAzure/UnityWebSocketDemo: Web Socket demos for Unity

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
Assets
Assets
 
 
ProjectSettings
ProjectSettings
 
 
UnityPackageManager
UnityPackageManager
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
omnisharp.json
omnisharp.json
 
 

Repository files navigation

Web Socket Unity demos

Azure Web Socket services for Unity

  • Bing Speech web socket demo (requires Key)
  • Bing Speech and LUIS app for using natural language to target and control Unity GameObject properties.
  • Bot Framework Direct Line web socket demo (requires Direct Line key)

Localhost Web Socket samples for Unity

  • Echo message demo
  • Transform JSON demo

: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

  • UnityWebSocket
    • WebSocket-Sharp* forked for supporting Unity and custom headers

Refer to the download instructions above to install these submodules.

Questions or tweet #Azure #GameDev @deadlyfingers

About

Web Socket demos for Unity

www.deadlyfingers.net/code/unity-web-sockets-mixed-reality-uwp

Topics

azure-bot-servicebing-speechbot-frameworkluisunitywebsocket

Resources

Readme
MIT license
Activity
Custom properties

Stars

18 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.