I am new to Unity and working on a game project in which i place some white box sprites in game. this is for Android and IOS both.
But when I change the size of the Game Scene the environment does not go relative to the size but those sprites stays in their positions, which cause the extra space on left and right of the mobile screen.
I searched alot and alot and didn’t find any possible working solution or answer to my question.
Please help me with this, how can i achieve this functionality.
This is What I want in my game through out the all screens.
and this is What happened if I change the screen size.
Please Help me with this problem how to get rid of these spaces.