Search Unity

Pinch Gesture With a Canvas

Discussion in '2D' started by VaunMakuza, Nov 30, 2014.

  1. VaunMakuza

    VaunMakuza

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

    I haven't touched the new touch input with 4.6, and I need to be able to zoom out with a pinch and move the canvas around a set area. As an example, I have a background image of 4 images that are 4096x4096 that make a large square. I need the canvas to be able to move around that image and be able to zoom in and out of it. I have no idea on how to even begin doing this though. If anyone has an idea on how to accomplish this, that would be great!

    Currently it's an Overlay Canvas, no camera's involved.

    Thanks!