Rect Transform. Help!

Help! Tell me how to fit a custom rect transform in the unit to the sprite borders (so that the angle where the green arrow is where the red arrow is)? Dragging the mouse on each image for a very long time, maybe there is some way to do this automatically?

Hello there.

There are 2 ways of configure a rect transform. With the anchors fixed in one point, or fixing the anchors at the limits of its parent.

If you see yout image, at the top-left part of the inspector, there is a square symbol. Clicking there you can preconfigure the position and size. MAke some test cliking the diferent options, then clickong the options holding Shift key, the same holding Alt KEy and finnally holding simultaneously Shift+Alt. You sill see different results (i dont remebebr what each key does, try it.

This helps?

Bye!