It's important to note that it only loses focus if a window is opened (for example Google Chrome) over the top of the playing editor/game. Minimising the Unity window doesn't do this and the video continues to play as it should when focus is regaine…
Hey Chris, no, there wasn't supposed to be a videoclip.
I'm just wondering if it would be possible to implement a 'seek' function into AC's videoplayer component so it could immiedately jump to and play the video from the specified time set.
Surely you can achieve this by simply running an ActionList in the background at the beginning of a scene that keeps checking whether a variable is met or not? And if so it will start the conversation?
I'm having the same problem here.
2 separate videoclips on 2 separate VideoPlayers. I preload the 2nd video on OnStart.
After the first video plays it 'should' begin the next video on VideoPlayer2 automatically with no pause, but there's a half-se…
The video did not pause even when 'running in the background'.
However, the script you sent works 100% so far - the playing video now pauses when the in-game menu is opened. Brilliant!
Should this do this as standard without the additional script …
It's already set at 'Run in background' but alas, it doesn't pause it :/
I'm useless with scripts in Unity, is there any way you could explain it to me please? If not it's no problem. Thanks, Chris :)
Hi Chris...Following on from this year-old conversation, is it possible to do the same with 2D sprites? (i.e Overlaying sprites over the top of video).
They seem to go 'behind' the video once the player starts playing.
I'm having a similar issue here. The 'Pause when video does?' tick box in the Video Player action is only accessible when the 'Wait until finish?' option is selected. However, when 'Wait until finish?' is selected, the in-game menus aren't even acce…
Thanks for the reply, Chris, much appreciated.
I've personally no idea how to write a script for my requirements so I guess I'll need to learn a few things. Thanks anyhow :)