Playground
The Playground is a great way to get started with Inworld SDK for Unity.
This project is an accessible, frequently-updated demo project for showing off new Inworld features as they release.
Prerequisites
- Unity 2022.2+
- Playground Demo Unity package file
Quickstart
Create a new Unity project and import the Playground Demo Unity package.
Then, select and run the Setup scene located at: Assets/Inworld/Inworld.Playground/Scenes/Setup.unity
and follow the instructions.
Install
⚠️ Warning: Do not rename the Unity package file (
InworldAI.Playground.unitypackage
) or the auto-import process will fail.
If you import the Playground Demo through the Unity package from the Release all the required packages will be installed and settings will be updated for you.
In case something goes wrong during the install process, here are the required dependencies and settings:
Required Components
Dependencies
- com.inworld.unity (use package included in project:
Assets/Inworld/com.inworld.unity.core-3.4.0.tgz
) - com.unity.cloud.gltfast
- com.unity.probuilder
- com.unity.ai.navigation
- com.unity.sentis (if using Unity 2022.3 or newer)
Packages
- TextMesh Pro Essentials
Build Settings
Add all the scenes within Assets/Inworld/Inworld.Playground/Scenes/
to the Build Settings. Scenes listed below:
- Setup
- Lobby
- Animations
- Avatars
- Goals
- Mutations
- Environment
- Scene
- Interactions
Controls
- Movement: 'WASD' & 'Mouse'
- Select: 'Left Mouse Click'
- Open Chat Panel: '~'
- Settings: 'Esc'
- Push-to-Talk Key (if enabled): 'V'