I am currently trying out mobile game development, but I’ve noticed that I need to set anchors, because of different screen sizes. I want the background to be at the bottom, not visible by the player, but I also want to stretch it relative to the screen size. Any suggestions?
Hi,
If you want to stretch it just set X anchors to 0 and 1, If you want it to stay at the bottom leave Y anchor at 0. Also you can set pivot Y to 1, this will ensure that even if you increase height of the rect, it will be always under the screen.