Search Unity

make a gameobject only visible by one camera

Discussion in 'VR' started by beilei_ren, Jul 26, 2019.

  1. beilei_ren

    beilei_ren

    Joined:
    Jul 15, 2019
    Posts:
    7
    Hi,

    I am currently have two cameras in my scene. One is camera (head) in Camera Rig for Steam VR. The other is a normal camera linked to a UI Rawimage on a UI Canvas, which also activate in play mode. I wonder how to set a gameobject only visible to the normal camera, but not to the headset camera?

    Thank you!
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
  3. beilei_ren

    beilei_ren

    Joined:
    Jul 15, 2019
    Posts:
    7
    Thank you again! It worked!