how to make make a game wait for 10 seconds the change level

how I make make a game wait for 10 seconds the change level

Thanks,

You have to change the level using a function or coroutine and then you can use ‘yield WaitForSeconds(10);’ before actually loading the level.