Obtaining the key

In order to test the app or run it on a device, we need to provide a license key in the VuforiaConfiguration object. As we already logged into the Vuforia page to create the targets, we are now going to obtain the required key. Let's get started:

  1. Go to the license manager page at https://developer.vuforia.com/vui/develop/licenses.
  2. On the License Manager tab, select Get Development Key to obtain a free key to use while developing.
  3. Give it the name of your app, AR Guide, read and accept the terms, and press Confirm.
  4. Select your newly created license and copy the key.

 

  1. Now, go to the Unity editor and select the ARCamera from the scene.
  2. Click on the Open Vuforia Engine configuration button in the Inspector window to open the general Vuforia configuration:
Opening the Vuforia Engine configuration button
  1. Paste your key into the App License Key field:

Vuforia license key field in the Inspector window

Now, let's test the app to check that our AR scene has been set up properly.

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

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