Inworld lite is a Unity library that uses the inworld-api to create a very lightweight wrapper around inworld functionality.
-
Import UnityInworldLight via package manager. You can add it by adding https://github.com/yolanother/UnityInworldLight.git in the add git package dropdown.
-
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".
-
Create an inworld server config and set it up to point to your node.js server that is running inworld-api.
-
Create an Inworld integration config and enter your integration key and secret
-
Add a game object to your scene that you will use to send text requests through.
-
Add an InworldInteraction script to that game object and set its configuration SOs.
-
Hook up events for handling callbacks from the interactions