modl.ai
|
The Unity demo project is designed to help you learn how to use modl:test. You don’t need to set up the project like you would your own project. You only need to configure Unity for use with modl:test and transfer the game and level configuration files.
The prerequisites to set up the Unity demo project depend on how you installed the modl plugin.
If you installed the modl plugin through the Asset Store, use the following steps to import the Unity demo project:
UnitySample
fileIf you used the scoped registry to install the modl plugin, use the following steps to import the Unity demo project:
Note: Unity downloads the Cinemachine and Input System packages as dependencies to the Unity demo project.
You only need to complete project configuration if you install the plugin through the scoped registry and download the project via the Package Manager.
To configure the Unity demo project, complete the following steps:
UnitySample
folder in the File Explorer.game_config.json
, modl_map_config.json
and the capturedLevels
folder to the root of your Unity project. For more information, refer to /home/runner/work/modl-ai.github.io/modl-ai.github.io/UnityPlugin/ai.modl.engine/Documentation~/unitysample_projectstructure.md "Project Structure". 2.. View the preset bot configuration. Go to modl > Bot configuration. If you are using Unity 2019 or below you might need to complete the following extra steps:
URP-Settings
folder.URP-HighFidelity.asset
into Graphics > Scriptable Render Pipeline Settings.If you want to build and upload the project, you must include the following scenes in the build settings: