What do UI anchors control?
rect.anchorMin = new Vector2(1, 1);
- Placement when resizing
- Order of the draw calls
- Colour of the container
- Speed of the transition
Anchoring ties an element to a parent edge so layouts survive other resolutions.
Play Game Dev ▸