Search Unity

Question Deforming a UI Image sprite.

Discussion in '2D' started by Jeryl, May 13, 2020.

  1. Jeryl

    Jeryl

    Joined:
    Sep 18, 2015
    Posts:
    45
    Hi everyone.
    I am updatin on of my board games. It is in 2D but made to look like 3D.
    At the moment, my game pieces are made of spritesheets like this one : screenshot005.png
    Depending on where the piece is on the board, it selects the corresponding sprite. But my game is heavy on customization so there are a lot of different variations (same shape, different textures) and it is taking up too much space.
    I would like to know if there is a way to keep one of those sprites (the one in the middle) and deform it to look like the others so that I can have only one sprite / game piece instead of 10.
    My game pieces are Unity UI Images (I plan on remaking the whole things to be full 2D at some point, but at the moment, it is all in a canvas).
    Any pointer?
    Thanks a lot.
     
  2. Jeryl

    Jeryl

    Joined:
    Sep 18, 2015
    Posts:
    45
    Anyone?