The first is the download address of the plug-in:
http://download.csdn.net/detail/hackdjh/9843547
Import the plug-in into Unity, open the Scene in the picture circle below, this is the Demo provided by the plug-in
After opening the scene, it will probably look like the picture below.
Next, let's see what's in the Hierarchy.
In the Hierarchy, CardboardMain is set as Prefab, which is the default. In fact, all functions implemented on VR are roughly under this object and its sub-objects.
A script Cardboard.cs is bound to the object
VR Mode Enable: VR mode switch
Distortion Correction: Distortion Correction
AlignmentMarker: Line direction mark
Settings Button: Settings button (gear icon below the figure)
Auto Drift Correction: Automatic offset correction (I don't know the purpose of this function yet)
Tap Is Trigger: bump switch
Neck Model Scale: Neck adjustment
In the future, I will continue to introduce other content of the plug-in to you. If there is something wrong in the article, please bring it up. Please bear with me.