Download the Unity Plugin for the Wikitude SDK from our website: https://www.wikitude.com
Create a free developer account which gives you access to a free trial license.
Make sure you complete the registration.
Extract the package into a folder of your choice.
Start Unity and create a new project.
Switch to iOS as our target platform for this project.
Go to the Player Settings and change the company name and the bundle ID for this project.
Let's now import the Wikitude Augmented Reality SDK.
Look for the Unity package in the folder you extracted the plugin.
Next, we will create a simple Object Tracking experience.
First add the Wikitude Camera game object.
You can paste there your trial license key.
Now add the Object Tracker from the prefabs and drag it into the scene.
Select which target collection to use for this sample - here we are using our demo firetruck toy.
Add an augmentation that should be shown once the firetruck is recognized.
Using Live Preview it is easy to preview experiences without deploying to an actual device.
Here we are using an attached iPhone X and the Unity Remote application
to stream the camera images to Unity.
Let's run the project in the editor using the Unity Remote application.
Make sure your device is connected to your machine through a cable.
Build the project now to export an Xcode project.
Open the xcode project file that Unity generated.
Add the Wikitude framework to your app project.
Run the same app now directly on your development device
and you have finished your Augmented Reality app :) !
All relevant links can be found in the description below.
Không có nhận xét nào:
Đăng nhận xét