Add the VIROO Studio package
In this article you will learn how to install the VIROO Studio package in two steps:
- Add the necessary Scoped Registries to your Unity project.
- Install the Viroo Studio package and its dependencies.
Tip
If you want to get a Unity project with VIROO Studio already configured, you can download a project already configured and with the VIROO Studio package installed from here.
This page covers the steps to add the VIROO Studio package to an existing project. If you download the VIROO Studio project template you are ready to create content and would not need to follow these steps.
Add Scoped registries
You can add the scoped registries needed to use VIROO Studio from the Unity Editor or by editing the manifest.json.
Using the Unity Editor
Open Window -> Package Manager.
Add these scoped registries with the following details:
Unity NuGet
Name: Unity NuGet
URL: https://unitynuget-registry.azurewebsites.net
Scope(s): org.nuget
OpenUPM
Name: OpenUPM
URL: https://package.openupm.com
Scope(s): com.cysharp.unitask, com.openupm, dev.bolt.addons
Viroo
Name: Viroo
URL: https://pkgs.dev.azure.com/virtualwaregroup/be03201a-56db-4141-a519-e8a5ad855787/_packaging/Viroo@Release/npm/registry
Scope(s): com.virtualware, com.nmerso, com.viroo
Editing manifest.json file
You can find the project manifest file, called manifest.json, in the Packages folder under the root folder of your Unity project.
Below the dependencies section, the scopedRegistries block must be included:
{
"dependencies": {
/* ... your dependencies ... */
},
"scopedRegistries": [
{
"name": "Unity NuGet",
"url": "https://unitynuget-registry.azurewebsites.net",
"scopes": [
"org.nuget"
]
},
{
"name": "OpenUPM",
"url": "https://package.openupm.com",
"scopes": [
"com.cysharp.unitask",
"com.openupm",
"dev.bolt.addons"
]
},
{
"name": "Viroo",
"url": "https://pkgs.dev.azure.com/virtualwaregroup/be03201a-56db-4141-a519-e8a5ad855787/_packaging/Viroo@Release/npm/registry/",
"scopes": [
"com.virtualware",
"com.nmerso",
"com.viroo"
]
}
]
}
Install VIROO Studio and other required packages
There are 2 ways to add the necessary packages in Unity. Choose the one you prefer from the following.
Using the Unity Editor
Open Window -> Package Manager.
To install the VIROO Studio package:
- Click the
add (+) buttonin the status bar. - Select
Add package by namefrom the add menu. - Enter
com.viroo.studioin thenamefield. - Enter the exact version (e.g.,
1.0.0) in theversionfield.The latest
com.viroo.studiopackage version can be found here. - Click
Add.
To install the DOTween package:
- Download
com.demigiant.dotweenpackage to{PROJECT_DIRECTORY}/Packagesdirectory. - Click the
add (+) buttonin the status bar. - Select
Add package from tarballfrom the add menu. - Navigate to
{PROJECT_DIRECTORY}/Packagesfolder. - Select the
com.demigiant.dotween.tgzfile.
Editing manifest.json file
Follow the steps below:
- Download
com.demigiant.dotweenpackage to{PROJECT_DIRECTORY}/Packagesdirectory. - Open
manifest.jsonfile. - Add the references to the Viroo Studio package and DOTween in the
dependenciessection.
{
"dependencies": {
/* ... your other dependencies ... */
"com.demigiant.dotween": "file:com.demigiant.dotween.tgz",
"com.viroo.studio": "1.0.0", /* Change 1.0.0 to the correct version */
},
},
- Return to Unity Editor to download the packages.