File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
release-content/migration-guides Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,18 @@ pull_requests: [18393]
44---
55
66The ` anchor ` field has been removed from ` Sprite ` . Instead the ` Anchor ` component is now a required component on ` Sprite ` .
7+
8+ The anchor variants have been moved to associated constants, following the table below:
9+
10+ | 0.16 | 0.17 |
11+ | --------------------- | --------------------- |
12+ | Anchor::Center | Anchor::Center |
13+ | Anchor::BottomLeft | Anchor::BOTTOM_LEFT |
14+ | Anchor::BottomCenter | Anchor::BOTTOM_CENTER |
15+ | Anchor::BottomRight | Anchor::BOTTOM_RIGHT |
16+ | Anchor::CenterLeft | Anchor::CENTER_LEFT |
17+ | Anchor::CenterRight | Anchor::CENTER_RIGHT |
18+ | Anchor::TopLeft | Anchor::TOP_LEFT |
19+ | Anchor::TopCenter | Anchor::TOP_CENTER |
20+ | Anchor::TopRight | Anchor::TOP_RIGHT |
21+ | Anchor::Custom(value) | Anchor(value) |
You can’t perform that action at this time.
0 commit comments