Add the "SetTimer" script to any gameobject in your scene and choose the timer duration and the event that should be executed.
The timer starts ticking once the script is enabled.
https://neverstressed-games.itch.io/unity-timer