Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

UI Image Resizer?

Discussion in 'UIElements' started by shawndingo, Sep 27, 2019.

  1. shawndingo

    shawndingo

    Joined:
    Oct 4, 2018
    Posts:
    76
    I have looked everywhere and am completely stumped. Is there a way that I can add a scale border around a image element and have the user rescale the image at runtime?

    For example. I have an image background that is set in place. Then the user can add a another image, kind of like a emote or icon overlaying the background image. Like a meme. Then they can move it around and resize it.
     
  2. shawndingo

    shawndingo

    Joined:
    Oct 4, 2018
    Posts:
    76
    Edit: I want to me able to pan and scale a UI element. Either it be a text or image element. I want to be able to touch the image, move it around the screen and then scale it with either pinch and stretch method or by adding a border around it with a resize icon on the bottom right corner.
     
  3. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    289
  4. shawndingo

    shawndingo

    Joined:
    Oct 4, 2018
    Posts:
    76
    You are the man!