Importing the Vuforia Assets package

Now that the Vuforia package is downloaded, we can import it into our Unity project.

These steps may be very familiar, since they're commonly used any time you import a third-party package into Unity, but we'll walk through it in detail this one time:

  1. In Unity, go to the Main Menu and click Assets | Import Package | Custom Package, and find your Vuforia .unitypackage file:

This will open the Unity import dialog with the list of files contained in the package.

  1. We might as well select all of them (the default), and then click Import:

If the package files are slightly older than your current version of Unity, you may then get an import warning that the scripts need to be updated. Go ahead to complete the import:

The Vuforia package is now imported into your Unity project. Look in the Project panel. You will see several new folders, including Plugins, Resources, and Vuforia as shown in the following screenshot:

The Plugins folder is where Unity keeps platform-specific binary and API code files. It now contains Vuforia's low-level API libraries and related files for Windows, iOS, Android, and other supported platforms.

The Resources file contains a special file named VuforiaConfiguration, and, as the name implies, this file maintains the project's Vuforia configuration parameters. This file will be included in the project build and is read at runtime by your AR app. We'll use many of these parameters throughout this book.

The Vuforia folder contains many Unity assets that may be useful in your project, including Materials, Prefabs, Scripts, Shaders, and Textures. We'll be exploring these further in our projects.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset