Unity 3D Google 纸板相机

Unity 3D Google Cardboard Camera

我正在 Unity 3D 中尝试使用 Google Cardboard 来创建基本的 VR 游戏。我无法确定哪个预制件是立体纸板相机。

我找到了几个声称可以给我看的视频,但是当我寻找他们描述的预制件名称时,我无法在我的列表中找到它们。在 one video 的评论中有人建议它被称为 GVREditorEmulator,我在我的预制件中有它,但在我播放场景时不提供相机(即使在 Unity Remote 5 应用程序上)。

谁能告诉我 Google Cardboard Camera 预制件叫什么?

我正在使用 Unity 3D 版本 2017.3.0f3 和 Google 来自 this repository 的 Cardboard SDK for Unity v1.130.1。

GVREditorEmulator.prefab拖到你的场景中,然后转到Build Settings然后将平台切换到iOS或Android,然后转到Player Settings 并单击 OtherSettings Screenshot then click on the Virtual Reality moved to XR settings field, then you will get this screen Screenshot2,选中 Virtual Reality Supported 并在加号上选择 Cardboard。现在你可以玩场景了(按住Alt并移动鼠标来模拟头部的运动)。

注意: 编辑器不再显示立体视图,但当您在目标设备上构建游戏时它会显示。