Buttons move and change size when start game,Button object moves when game start
Hi guys,
I'm another newcomer to unity.
I have this in my hierarchy :
Canvas -> Panel -> buttons with text
When I click on start (with option Maximize on play) the sizes and positions of the buttons change. If I go to the game tab without starting the game, the buttons don't move. I don't have any animations scripts, just methods to go to another scene or quit the game. Any ideas ?
Maybe change resolution to Free Aspect (it's in "Game" tab very close to maximize on play option) If this don't helped, change the size of Canvas or Buttons (you can also create a new canvas and add these buttons and resize them) I also have similar problem.
Answer by itsjustmelol · Nov 13, 2021 at 10:21 PM
@Mags59 Maybe change resolution to Free Aspect (It's in "Game" tab very close to maximize on play option) then test your game, If Buttons is also changing the size, change the size of canvas and buttons (you can also create the new canvas and add all buttons to it and resize them) I also have similar problem.
Your answer
Follow this Question
Related Questions
List.Contains not working as intended 0 Answers
button change object position 0 Answers
Getting height in pixels of tilemap 1 Answer
How do I change Buttons location in script? 1 Answer
Aspect ratio boxes floor 0 Answers