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

zoom camera to 2d image

Discussion in 'Getting Started' started by warrenbrandt, Jul 8, 2019.

  1. warrenbrandt

    warrenbrandt

    Joined:
    Mar 3, 2018
    Posts:
    413
    im making a title screen and have an image 1366x768 how can i zoom the camera in to capture the whole image making it full screen? i tried transform on the camera but couldnt work out how to zoom up making the image full screen, there is a blue border around it at the moment.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    If your objective is just to make a title screen, then messing with the camera is almost certainly not the right way to go about it.

    Instead you should just use a full-screen Canvas, and throw your image into an appropriately anchored Image object.
     
  3. warrenbrandt

    warrenbrandt

    Joined:
    Mar 3, 2018
    Posts:
    413