How to deform a 2D GameObject ?

I was wondering if there was a simple way to deform a GameObject with his corners, like this :

Thanks !


Assuming your gameobject is a mesh, you would have to change the vertices of the mesh
to represent the shape that you want, there really is no “simple” way to do this.