Search Results for

    Import Packages

    Import Latest Package Into New Project

    This section describes how to import the latest Play For Dream Unity packages into a fresh Unity project.

    If you are using any prior version of Play For Dream Unity packages in your project, you can upgrade it to the latest version.

    Also, you can revert your project to use prior versions of Play For Dream Unity packages if you wish.

    Perform the following steps to import latest package into new project:

    1. Download the package of latest version from Development Center, it should be a zipped file which includes com.yvr.core, com.yvr.utilities and com.yvr.platform folders.
    2. Unzip the downloaded SDK package somewhere on your disk.
    3. Open the project in which you want to import the packages.
    4. From the menu, go to Window > Package Manager.
    5. Within the popped-up window, click the "+" on the upper-left corner, select Add package from disk, enter the path you previously unzipped the downloaded SDK and select Utilities, Core, Platform package JSON file in turn, e.g com.yvr.core/package.json.
    Note

    The SDK Package is managed by Unity Package Manager. After performing the above operations, the SDK package will be the Local Package of your unity project. For further information about Unity Package Manager, please refer to Unity Documentation.

    Caution

    Do not delete the unzipped SDK package. As the packages used in your project point directly to the unzipped folder on your disk, any updates in the folder will also change the related contents in your project.

    The schematic diagram is as follows:

    Import package Locate Package_1 Locate Package_2

    Upgrade To Latest Package

    This section describes how to upgrade any prior versions of Play For Dream Unity packages within existing projects to the latest version of the package.

    The following steps should be performed:

    1. Close Unity, if open.
    2. Enter the path where you unzipped the SDK package.
    3. Delete the target package folder, e.g. com.yvr.core.
    4. Follow step 2 through step 5 from the Import Latest Package Into New Project section.

    Revert to Prior Versions Of Package

    This section describes how to revert the latest version of Play For Dream Unity packages within projects to the prior version of the package.

    1. Download the prior version of the package from Development Center.
    2. Follow step 1 through step 4 from the Upgrade To Latest Package.
    Note

    The essential of Upgrade and Revert is to modify the contents in your SDK folder.

    In This Article