InworldServerConfig
In Module: Inworld.AI
By default, we provide a InworldServerConfig
scriptable object called Prod for storing the necessary URLs used in the application. This object is typically configured within the InworldClient
of InworldController
.
Inspector Variables
The following inspector variables are publicly accessible:
Variable | Description |
---|---|
Runtime | The URL of the Inworld's runtime server used in NDK. |
Web | The URL of Inworld's runtime server used for WebSockets. |
Tutorial Page | The URL of Inworld's online documentation. |
Port | The port number used for the above URLs. |
Properties
Property | Description |
---|---|
TokenServer | Gets the URL for access runtime session token. |
RuntimeServer | Gets the acceptable URL Scheme for the runtime server. The format will be https://xxx:port . The RuntimeServer is the server used for communication when entering play mode. |
API
Function | Description | Parameters |
---|---|---|
SessionURL | Get the URL for the WebSocket session. | sessionID: The current session ID obtained from the response of the LoadSceneRequest |
LoadSceneURL | Get the URL for load scene request. | sceneFullName: the full name of the scene you want to load. |
FeedbackURL | Get the URL for sending feedback. | callbackReference: the full name of the callback that is based on sessionID, interactionID, and correlationID. |