Hi everyone , im just new in unity … i bought an game from asset store … and i tested it and it works fine , but i made an background for main menu , and i tryed to see it fits with all android screens or not , and its fine with some sizes of screen and with some not fine i mean ( it cuts from top and down ) … like in photo … so how can i fix this to fit with all screens of any mobile ? … Please guys i need your help
Hello RunOrDi33,
Welcome to the Unity community!
Could you tell us a little bit more on how the background of yours is working? Is it a UI element, 2D sprite or a 3d object?
If it is difficult to tell, you could post a screenshot of the inspector window while your background object is selected.
here you are … about my image settings, background when i press on it and the canvas which have the all game ui… i will appreciate if you help me … this problem make me crazy
Thank you for the pictures. Your background is currently set to a certain width and height (1100 by 2000). If you press the anchor presets button:
and select stretch horizontal and vertically, the rect transform component changes into how much padding you want from every side. If you set the padding to 0 for all sides, your background image should stretch to cover all sides.
For more information of other UI features, you can have a look at our intro to UI tutorial on Unity Learn:
https://learn.unity.com/tutorial/ui-components
Thanks Ted… i will check it