Skip to content

DastanIqbal/cardboard-controls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cardboard Controls+

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!

Join the chat at https://gitter.im/JScott/cardboard-controls

Usage

  • 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.

What's added?

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.

About

A complete and robust Cardboard Input SDK for Unity in C#

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%