Game Development Reference
In-Depth Information
The Rect Transform component
Now the previous Rect Tool works just fine on all 2D and 3D objects and is a great
extension to the Unity toolset; however, Unity also introduced the Rect Transform
component specifically for the new Unity UI system, you can see it here:
Note: If you add a Rect Transform to an ordinary sprite instead of a
UI component, you will not get the full capabilities described here.
The Rect Transform cannot update the Sprite Renderer component
used by sprites alone, so it won't resize or be able to use advanced
features such as the Anchors . Bear this in mind when tinkering. The
primary reason for the new Rect Transform component is the new
UI system.
The Rect Transform with a fixed (non-stretched) anchor
The Rect Transform with a stretched anchor
 
Search WWH ::




Custom Search