- Home /
Question by
KKGamesOfficial · Nov 20, 2018 at 01:07 AM ·
uimobileresolution
How do I anchor a child object?
I am making a mobile game, and want it to be compatible with all resolutions. The menu of the game using a few empty gameobjects that act as parents to UI objects, like the options menu, shop menu, etc. And I want to anchor the child objects in the parents. How could I do that?
Comment
Answer by thealexguy1 · Nov 20, 2018 at 04:08 AM
In the inspector on all UI objects theres a Rect Transform component with an option to change its anchored position, this is always relative to the parent object. Have you tried using these?
capture00.png
(22.2 kB)