ExtendRealityLtd/VRTK.Tutorials.YouTube

Show how to set up a scene with multiple SDK camerarigs

Closed this issue · 2 comments

Multiple SDK camerarigs will allow building for different underlying SDKs but with a single Unity project.

Use rules to set up which rig to activate based on the SDK

  • layout preview
    image

  • set up pattern to match pico sdk
    image

  • set up pattern rule to work off pico sdk pattern
    image

  • set up rule association for the pico pattern rule, this will know to turn on the pico camerarig when the pico sdk is found
    image

  • set up pattern to match oculus sdk
    image

  • set up pattern rule to work off oculus sdk pattern
    image

  • set up rule association for the oculus pattern rule, this will know to turn on the oculus camerarig when the oculus sdk is found
    image

  • add gameobject association activator, which will enable the relevant camera rig based on the sdk detected.
    image