Search Unity

Can't see Objects on camera preview!

Discussion in '2D' started by Ciava, Oct 27, 2020.

  1. Ciava

    Ciava

    Joined:
    Jun 1, 2018
    Posts:
    50
    Hello!
    I would like to render in a camera just SOME of the UI present in the Canvas.

    I set Canvas to "Screen Space - Camera" and dragged my Camera in.

    Now I can see ALL the UI in the Camera Preview.

    I would like to show just that whole box on the left, where you read "new text". Everything but those four buttons on the right.
    I tried to use Layers, but It does not work. What do you suggest me to do to exclude all that right UIs?

    My intention is to take screenshots of just that part

    Thanks!
     

    Attached Files:

    Last edited: Oct 27, 2020
  2. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    @pavons2

    Isn't this a UI question, not a 2D question. There is a UGUI forum for UI questions...

    But anyway - couldn't you simply disable the objects you don't want to see?
     
    Cornysam likes this.
  3. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    1,464
    Cant you just turn off the visuals when you start it or am i missing something?
     
    eses likes this.
  4. Ciava

    Ciava

    Joined:
    Jun 1, 2018
    Posts:
    50
    Thanks for your reply ....
    Well, when you asked me Why don't I just disable objects on the screen ....

    I did not think about it .... but I can show you a medical certificate
    which certifies that I am stupid, so you can't blame me!

    :eek::eek:

    :D Thanks as usual for your hints!!!!
     
    Cornysam likes this.