How to wait for keydown after level loaded?


I’m wanna make a loading scene. It would load other scene in the background and, after the target scene is loaded, it would wait for key down to transfer to target scene. However, Application.LoadLevel and Application.LoadLevelAsync will transfer to the target scene as soon as the loading accomplishes. So I have no idea where to wait for keydown.

Could anyone give me a hand? Thanks!

Have a script in the scene that listens for GetKeyDown, or transfer an object over with DontDestroyOnLoad. Use OnLevelWasLoaded to know when a level was loaded.