The SDK of this version is still being tested, and these pages are being updated with it: names, menus and procedures may still change before the release. If you build content for a platform already in production, follow the documentation of that version — pick it from the version menu at the top right.
Prefabs and Placeholders
After installing the SDK correctly, in your Unity Project you will find a new Package called "Virtuademy-SDK-Environments".
Prefabs
The Package contains various asset prefabs with built-in logic, ready to be taken and dragged into your scene, for immediate use:
- Big Screen - Panel that allows to display a multimedia content shared with everyone.
- Chatbot - Asset that allows to chat an AI agent in the scene.
- Dashboard - Object that allows you to show the list of Experiences available in the World.
- Interactable - Prefab that a Creator can use as a wrapper for interactions logics on a custom 3D asset.
- Interaction Cue - Shows how an object can be used: a rim when it is the next thing to do, when the user points at it or selects it, and a green or red look when an action on it is right or wrong. Every task element has one.
- Point of Interest - Object that allows you to present information with images, videos, links and texts by clicking on a button in the environment.
- Quiz Panel - Customizable panel used to create quizzes that appear in the environment.
- Scene Changer - Object that allows you to switch from one scene to another
- Teleporter - Object that allows teleportation from one point to another, or from one scene to another
- Tutorial - Contains the TutorialSkipper prefab, related to the standard Welcome and Tutorial Panels.
- UI panels - UI Toolkit panels in the Virtuademy theme, ready for your scene: a text panel with buttons (and its hint, warning, error, success, welcome and confirm variants), a list, a check mark, a label, a choice, a HUD and the notification host of toasts and popups. Read with them the Theme, Toasts and popups, Safe frame and reserved screen zones and Texts and languages.
- Voice Chat - Object that allows you to create a private area where voice chat is active.
- [Deprecated] Map camera - Camera that allows you to view the map of the environment from above.
- [Deprecated] Mirror - Mirror that allows you to open the avatar customization window.
- [Deprecated] SpawnPoint - Instead of using this Prefab, still here for retrocompatibility, refer to the one cited in Scene Setup.
The package also contains the Task System, with the following prefab
- TasksLogic - Prefab that runs the tasks of the scene and shows the flow of tasks created with the Task system. Tasks are events that can be used to give a complex flow to the interactions in the environment.
- TasksLogic_Procedure - The same task system with a Procedure: scored steps, errors, hints, a time limit, right and wrong feedback and a summary, and a task panel you place per platform. Start from it for a training that is assessed.
- Task elements - Drop-in prefabs that detect one kind of action and report it on a task: Target, Choice, Distractor, Question, Reach Zone, Watch and Collect, and the Item On Target element.
The items the player carries have their own pages: the Inventory Placeholder that sets up the inventory, the tools and the equipment slots, the Pickables and wearables, the Tools, the Item targets they are used on and the Spawnable Object that makes their copies.
Script Placeholders
Apart from the prefabs, you can also find individual scripts, each representing a different general utility. These scripts are called script placeholders, since the logic doesn't work until the scene is uploaded to the platform. These scripts can be attached to a GameObject of your choice to give it a specific behaviour. To ensure the proper functioning of individual scripts, they must be accompanied by the correct components inside the object’s Inspector.
Components are the functional elements of every GameObject. These components contain properties that you can edit to define the behavior of a GameObject.

Here is the list of the aforementioned utilities:
- Deactivate Objects Placeholder - Controls which GameObjects should be deactivated in specific destination platforms.
- Disable Behaviour Placeholder - Controls which MonoBehaviours should be disabled in specific destination platforms.
- Disable Collider Placeholder - Controls which colliders should be disabled in specific destination platforms.
- Localization Placeholder - Assigns a localization key to a TextMesh Pro UGUI element.
- Localize Task Placeholder - Assigns a localization key to a Task of the Task System.
- Remove Help Placeholder - Removes the "Help" button from the main UI.
- Remove Tablet Placeholder - Removes the "Tablet" button from the main UI.
How to use the placeholders: assign a behavior to an object
The steps to attach a behavior to an object are as follows:
-
If you need a GameObject to work on, drag an existing asset or right click on Unity's hierarchy to create a new one.

-
Through the object's inspector, add a Box Collider, with the "Is Trigger" checkbox selected to enable interaction with the user.

-
Drag and drop the desired script placeholder from the Packages > Virtuademy-SDK-Environments > ScriptingApi > Placeholders folder, where each module has a folder of its own.
Alternatively, you can select "Add component" in the inspector and type the name of the script you want to associateWarningPlease note that it's not recommended to attach two different script placeholders into the same object. Distributing the scripts between parent and children to obtain more behaviors for the same object is allowed, but requires testing and a good handling of the different components.

-
Edit the public parameters of the script according to your preferences, be careful to reference the correct components in the correct slots:

-
Add the other components needed to initiate the desired behavior of the object (empty objects, colliders, audio sources, or others depending on the chosen script). These depend on how the selected script placeholders work.