Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IEnumerator PlaySplashVideo()
- {
- Handheld.PlayFullScreenMovie("Video/Logo-1536x2048.mp4", Color.black, FullScreenMovieControlMode.CancelOnInput);
- // This needs to be called to execute things after the video finishes playing
- yield return new WaitForEndOfFrame();
- yield return new WaitForEndOfFrame();
- yield return new WaitForSeconds(0.5f); // This fixes the Signal 11 error for me.
- LoadLevel();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement