- Install Unity
- Add Vuforia Engine to the Unity installation (Vuforia)
- Create a Vuforia License (License)
- Add a Target to the Vuforia Targetmanager (Targetmanager) and Download the Database
- Add your Vuforia License to Unity
- Create a new AR Camera
- Add a new ImageTarget. Select here your Image of the downloaded Database
- Add 3 GameObjects (Disk 1-3) and place them where you want the start tower to be
- Add 6 virtual Buttons and a Text and Plane on top of the Button
- Add the two scripts GameHandler.cs and Tower.cs to your unity Project and the GameHandler.cs script to the ImageTarget
- Drag and Drop the 3 Gameobjects, 6 Virtual Buttions ans optinal the Textfield to the GameHandler.cs script Public inputs Optional:
- Add a plane and a textfield
For Step 4 - 6 you can also download the Assets folder instead and paste it in you projects Assets folder
In Unity your workspace should look like in the following Image:
Play with the Virtual Buttons:
Play with the mouse and raycasting: