首页 文章

Unity 3D谷歌纸板相机

提问于
浏览
1

我正在Unity 3D中试用Google Cardboard来创建一个基本的VR游戏 . 我无法弄清楚哪个预制件是立体纸板相机 .

我've found several videos that claim to show me, but when I look for the prefabs names they describe, I can't在我的列表中找到它们 . 在one video的评论中,有人建议它被称为GVREditorEmulator,我在我的预制件中,但在播放场景时不提供相机(即使在Unity Remote 5应用程序上) .

有人能告诉我Google Cardboard Camera预制件的名称是什么吗?

我从this repository使用Unity 3D版2017.3.0f3和用于Unity v1.130.1的Google Cardboard SDK .

1 回答

  • 0

    GVREditorEmulator.prefab 拖入场景,然后转到Build Settings,然后将平台切换到iOS或Android,然后转到Player Settings并单击OtherSettings Screenshot然后单击Virtual Reality移动到XR设置字段,然后您将看到此屏幕Screenshot2 ,检查虚拟现实支持和加号选择纸板 . 现在您可以播放场景(按住Alt并移动鼠标来模拟头部的移动) .

    Note: 编辑器不再显示立体视图,但是当您在目标设备上构建游戏时它将存在 .

相关问题