When my google cardboard app starts up for the first time, it launches a Google page that says "Google Cardboard. Let's get you set up. Pair your phone with your viewer for the best experience."
I'd like to control this experience to show my own initial screen before the google cardboard sdk launches. One reason for this is that I want people without cardboard to be able to immediately start experiencing the app in non-cardboard mode without having to go through the pairing process.
I know I can launch the pairing / viewer profile selector later on with the cardboard.ShowSettingsDialog().
答案 0 :(得分:3)
使用当前版本的SDK执行此操作的一种方法是使用一个没有Cardboard组件的启动器场景。它不会在VR中,也不会触发入职。
[edit] CardboardiOSDevice.cs中的函数OnFocus()决定启动入门对话框。您可以通过编辑此功能来抑制它。但您可能希望继续为首次使用的用户而不是设置对话框使用入门对话框,因为它会引导他们完成扫描过程。