SandroWeber / ubii-node-unity3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity3D client for Ubi-Interact

Unity Package

Import "ubii.unitypackage" to get all scripts and plugins. Create a gameobject and attach Scripts/ubii/client/UbiiClient.cs as your client connection to the UBII backend.

How to use

  • from Unity3D editor, choose Menu -> Assets -> Import Package -> Custom Package... and select ubii.unitypackage from this repository
  • In the scene, have an object with the UbiiNode.cs script attached - e.g. an empty object called "UbiiNode"
  • in the script's configuration, change Service and TopicData URLs according to master node configuration. IMPORTANT: service communication over HTTP(S) only works with the ".../binary" endpoint for now under C#

Example Unity project

Open one of the scenes under /Ubi-Interact-Client/Assets/ubii/scenes/

Update dependencies (only necessary if message definitions are outdated)

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C# 100.0%