How to pause video when game is not focused
I've noticed in my game if I alt-tab out of it the video that is currently playing will sometimes incorrectly appear if I then focus back into the window (it gets delayed - or a connecting video appears at the wrong time. What is the best way to globally pause a videoplayer component till you focus back into your project?
Does timeScale work with this process or is there a proper way to do this?
Comment
Your answer
