Table of Contents

Creating a VIROO Application

A VIROO Application must have an initial scene, VIROO Main, which must be added from a template scene provided by VIROO Studio. The application's own content is added in other scenes (see Adding Content to your VIROO Application).

Furthermore, there are some more settings to make in your Unity project, also listed on this page.

Before you begin: To start creating your first scene, you must have configured your development environment. This includes making sure that you are using the correct version of Unity, that you have installed the VIROO Studio package and that you have the project set up correctly. See more information at Set up your Basic Environment.

Add VIROO Main scene

If you have downloaded the VIROO Studio template and you aren't creating a Viroo project from scratch, the Main scene is already included in the project by default. You can verify this by navigating to File > Build Profiles and checking the Scene List for a scene named Main.

If the scene is present, you can skip this step and proceed to Configure the Application Identifier.

When building a VIROO Application, the VIROO Main scene must be included. To do so, the following steps must be followed:

  1. In Unity, go to File -> New Scene. Select the VIROO Main template and click on Create.

create-viroo-main.png

  1. Save the scene (File -> Save).
  2. Go to File -> Build settings... and add the scene you just created to the Scenes in Build list, in the first position (index 0).

add-viroo-main-to-scenes-in-build.png

Note

The scenes that you include in your application don't need to be added to this list. When you build the application VIROO Studio will take care of including them in the build.

Configure the Application Identifier

Your application needs to have a unique identifier to function correctly on the VIROO platform.

To set the ID of your application:

  1. In Unity, go to Window -> Viroo -> Dashboard.
  2. In the VIROO Dashboard, go to the Application Builder tab.
  3. Set your application identifier in the Application Identifier field.

set-application-identifier-dashboard.png

Configure the Application Title

Your application must have a title that helps you identify it correctly when using it.

To set your application title:

  1. In Unity, go to Window -> Viroo -> Dashboard.
  2. In the VIROO Dashboard, go to the Application Builder tab.
  3. Set your application identifier in the Application Name field.

set-application-name-dashboard.png

Voice configuration

Starting with VIROO Studio 3.3 Vivox has been replaced with a custom voice communication service.

This native voice communication service uses VIROO's networking service to provide VoIP communication in your applications without any further project or environment configuration.

This is the default voice communication service for VIROO and all the required components are added to the VIROO Main scene when creating it.