How to press spacebar via script on start?,How to press spacebar via code on start?

I know this is quite dumb, but I have my player spawn via Player Manager by hitting the spacebar. I want my player to start already in the game so I was figuring out how to just automatically press space once right when the game starts. Any advice would help, thanks,This is a silly question, I know, but I have a player spawn via Player Manager when they hit the spacebar. I want the spacebar to be pressed once as soon as the game starts so the player will spawn right away. Thank you

You don’t need to do that. Just drag your prefab into the Hierarchy and position it as you want. It will be there to start with…