Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Yishang's avatar
Yishang
Honored Guest
9 years ago

How to Change Scene to another Scene Without keyboard input With Oculus on.THX

I want to achieve that.
When I wearing the Oculus enter a scene,The time I focus on a specific place,Without any kinds of other keyboard input,How could My view change to another Scene.

3 Replies

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    You can use Application.LoadLevelAsync(..) in a script. For an example, see OVRSceneSampleController in the Oculus Utilities for Unity 5.

    Doc: https://developer.oculus.com/doc/1.3.0-unity/class_o_v_r_scene_sample_controller.html
    Download: https://developer.oculus.com/downloads/game-engines/1.3.0/Oculus_Utilities_for_Unity_5/
  • Yishang's avatar
    Yishang
    Honored Guest

    vrdaveb said:

    You can use Application.LoadLevelAsync(..) in a script. For an example, see OVRSceneSampleController in the Oculus Utilities for Unity 5.

    Doc: https://developer.oculus.com/doc/1.3.0-unity/class_o_v_r_scene_sample_controller.html
    Download: https://developer.oculus.com/downloads/game-engines/1.3.0/Oculus_Utilities_for_Unity_5/


    THX Very much,I'm going to check it out,THX!
  • Yishang's avatar
    Yishang
    Honored Guest
    I've Inserted the OVR to unity ,but don' t know how to use the  "OVRSceneSampleController.cs" to change to another Scene. .