Search Unity

Moving the Canvas around

Discussion in 'UGUI & TextMesh Pro' started by VaunMakuza, Nov 30, 2014.

  1. VaunMakuza

    VaunMakuza

    Joined:
    Sep 20, 2012
    Posts:
    40
    Hello all!

    Previously I was using 2DTK to move a camera around an image as the image was larger then the camera's view. I have converted everything to use UGUI instead. Now I have no idea how to make the canvas move around an image.

    For more in depth this is how it's laid out. I have 4 images that are 4096x4096 that are positioned into a square shape, 2 on the top, 2 on the bottom. The canvas sits in the middle of the 4 squares that connect. I would like to be able to move the canvas around the whole image, as well as be able to zoom out a bit, and zoom back in. I have no idea how to actually accomplish though. Does anyone have any idea how to accomplish any of those tasks?

    Thanks!
     
  2. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
    Maybe make a 'parent' under canvas, parent your 4 images to that, and move that around?