I have a panel, basically a menu panel that has options on it, but when I start the app, it shows up. I want to have it hidden when I start the app. Does anyone have any code for that?
Are you by any chance talking about this? If so, you just go into Edit → Project settings → Player, click on “resolution and presentation” and set “display resolution dialogue” to disabled.
No no no, like an actual panel inside the game I made. Its a menu panel I made. When I press play game, It starts opened up, then I have to click the X button on it that I made to go away. I need it to start hidden.
Oh. Just have it disabled by default from the inspector and then use gameObject.SetActive(true); for when you need it enabled.
1 Like
