yolanother / UnityInworldLight

A light weight Inworld rest api wrapper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inworld Lite

Inworld lite is a Unity library that uses the inworld-api to create a very lightweight wrapper around inworld functionality.

Setup

  1. Import UnityInworldLight via package manager. You can add it by adding https://github.com/yolanother/UnityInworldLight.git in the add git package dropdown. image

  2. Depending on the version of Unity you are using you may get an exception about missing Newtonsoft Json. You can fix this by adding com.unity.nuget.newtonsoft-json to your package dependencies via "Add Package by Name".

  3. Create an inworld server config and set it up to point to your node.js server that is running inworld-api. imageimage

  4. Create an Inworld integration config and enter your integration key and secret image image

  5. Create an interaction path either Character or Scene. image

  6. Add a game object to your scene that you will use to send text requests through.

  7. Add an InworldInteraction script to that game object and set its configuration SOs. image

  8. Hook up events for handling callbacks from the interactions

About

A light weight Inworld rest api wrapper.

License:MIT License


Languages

Language:C# 100.0%