Game Development Reference
In-Depth Information
If you recall, back in Chapter 2 , Building Layouts , we introduced the new
Rect Transform component that replaces the traditional transform component
for UI elements, which looks like this:
Highlighted in this screenshot are the new Anchor properties that will take a
Rect Transform and bind it to a certain area of a parent Rect Transform . I say
parent because an Anchor can be set against the borders of any parent UI
GameObject, not just a Canvas.
Clicking on the top-left graphic also reveals the Anchor Presets (or Common
Configurations as Unity likes to refer to them), as you can see here:
 
Search WWH ::




Custom Search