Skip to main content

Version 1

The Inworld AI Unity SDK version 1 is a cross-platform virtual character integration plugin for Unity. It supports communication in 2D.

⚠️ Note: The API references for the legacy package may be different from the current one.

Download

You can download our various Unity Integration packages here. This tutorial series will begin with an overview of compatibility, assets, and API references.

Legacy

Unity Package Structure

  1. Plugins/ - contains all native plugin files. Do not modify or remove these.
  2. Prefabs/ - contains the ChatScreen/ and MainScreen/
  3. Resources/ contains following:
    • Inworld Console, a sample object for showcasing how to use the package
    • Inworld Controller, the main singleton object with which you will call the API. Ensure that there is only one InworldController in the scene
    • Inworld Character, the AI character instance for you to communicate with
    • Inworld Scene, a scenario placeholder to list characters
    • ChatScreen/ and MainScreen/ folders for use in demo scenes
  4. Scenes/ contains a sample scene to showcase our Unity integration
  5. Scripts/contains:
    • ForceInitialize.cs, the file used for solving linking issues in IL2CPP. This file cannot be called, but you should not remove it if your target platform is building with IL2CPP.
    • Packets/, the folder containing files of packets to communicate with our server
    • Audio/, the folder that captures audio-related files
    • Auth/, the folder that is used for authentication and logging into our server
    • Chat/, a folder for demo use only
    • Data/, a folder for data implementation (e.g., character or server properties)
    • Entities/, the implementation of SDK related gameObjects
    • Util/, an aggregation of enums, events, tools, and files used
  6. Textures contains demo-related files