So when you click to start the game, it sends you to this scene. I have this scene set up with a "OnStart" Cutscene which goes into effect right away. The scene is set up basically just to play a video full screen using
@Alverik 's custom action script and the Unity VideoPlayer component by having the camera face a full screen plane.(Part of the reason I have this video clip playing in a standalone scene is because I need to have different components on the camera - in other scenes I have a black and white color correction filter on the camera but I want this to play in color.)
It totally works, but I need to add a way to hit a key (spacebar?) to be able to skip the video. It's fun to watch the first time you play the game, kind of annoying to watch if you are playing a second time, and really tedious if you are playtesting over and over!
Any advice on how to add the ability to skip the rest of the video with a keyboard input? I saw that there is a Input: Check Button action, but I'm not sure how to get that to combine with either letting the video Play until Finished or to skip it midway. I thought about doing an Engine: Wait on the video instead of Play Until Finished, but I have no way of knowing how much will have played at the moment the player presses the button and that action gets checked.
Thanks for your advice!
Comments
You can always continue to use @Alverik's Action to change the clip, of course - and I can amend his script to work with parameters if you wish.