Skip to content

flashscope/CardBoard_Plugin_For_Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardBoard_Plugin_For_Unity

CardBoard For Unity is unity3d plugin for Google cardboard system

It using cardboard jar file included google cardboard sample

Tested in Nexus 5

Include Sample Project

Simple Shooting Game (Magnetic function include) https://github.com/flashscope/CardBoard_Plugin_For_Unity/tree/master/CardBoardForUnity

Simple Ar Project https://github.com/flashscope/CardBoard_Plugin_For_Unity/tree/master/CardBoardARKit/CardBoardARKit

How to use

  1. you need export unity3d project by android project

  1. add call method in activity (screen shot is not good to look plese check code)(Careful with SendMessage Class Name) https://github.com/flashscope/CardBoard_Plugin_For_Unity/blob/master/CardBoardForUnity/DebrisDefragmentation_Android/Debri_Defragmentation/src/com/limecolor/unity/card_board_for_unity/debris/UnityPlayerNativeActivity.java

  2. add Android Manifest (for vibrate If you don't use, you don't need) https://github.com/flashscope/CardBoard_Plugin_For_Unity/blob/master/CardBoardForUnity/DebrisDefragmentation_Android/Debri_Defragmentation/AndroidManifest.xml

4. copy CameraControl.cs in to your unity3d project and change package name to yours https://github.com/flashscope/CardBoard_Plugin_For_Unity/blob/master/CardBoardForUnity/CardBoardForUnity/Assets/CardBoardLogics/Scripts/CameraControl.cs

add. If you using Unity Pro, use Fish Eye Shader! It gives more reality effect

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors