Cardboard Controls+ is all you need to develop the best Cardboard games in Unity. These scripts enhance Google's official Cardboard SDK for Unity with improvements such as discrete magnet control, raycast data, and event-driven architecture. Stop limiting your creative options!
- Remove existing Cardboard Controls+ files to ensure that they get updated properly
- Import the latest unitypackage
- Add
CardboardControl/Prefabs/CardboardControlManager
to the root of your scene - Add
Cardboard/Prefabs/CardboardMain
as your scene's main camera - Use the API which is explained in the DemoScene's code comments.
You may experience problems if you import the code manually without using the provided unitypackage file.
Cardboard Controls+ adds vital functionality to the barebones Cardboard SDK that expands your options and makes common things easy. There are C# methods and delegates for:
- Treating trigger down and up as separate events from a click
- Identifying the objects players are looking or staring at
- Tilting the device, as used in official Cardboard apps to navigate menus
- Toggling and highlighting a reticle in the middle of the player's view
These expand your opportunities and save you from reimplementing boilerplate functionality. Instead of wasting time on that, Cardboard Controls+ helps you to focus on what makes your game cool.