The Playground Demo is a great way to get started with the Inworld SDK for Unity. The project aims to serve as a frequently updated demo project to show off new Inworld features as they release.
For more in-depth documentation of the playground, visit the Inworld AI docs.
- Unity 2022.2+
- Playground Demo Unity package file
- For GitHub Repo: Please follow the following steps:
- clone this repo.
- Navigate to the folder
inworld-unity-playground
. - Run
python importSDK.py
. - Open the Unity project
inworld-unity-playground
.
- For Unitypackage on Release page:
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.
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:
- 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)
- TextMesh Pro Essentials
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
- Movement: 'WASD' & 'Mouse'
- Select: 'Left Mouse Click'
- Open Chat Panel: '~'
- Settings: 'Esc'
- Push-to-Talk Key (if enabled): 'V'