Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

how to neglect object from camera

Discussion in 'Scripting' started by UNITY3D_TEAM, Sep 17, 2012.

  1. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    hi.can i know how to neglect the object from main camera and allow that same object to view in other camrea: minma
     
  2. wolfhunter777

    wolfhunter777

    Joined:
    Nov 3, 2011
    Posts:
    534
    Set a layer and put the object on that layer. Tell the main camera to ignore that layer. The other camera must not ignore that layer. If you only want the other camera to display the object and nothing else, tell it to ignore all layers except for the layer the object is in.
     
    FoxbxHero likes this.
  3. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    thanks i got it short and sweet help u done