How to make a pause button that will open the menu. The button for must be for the videoplayer. I used this video, but there is a push Escape, and I need a button that would open the same menu, only for the video player. 1
The video is for a Pause Game menu and not for video. These are two different things but I suppose it’s all generally a toggle system. But if I understand what you are attempting, just use videoPlayer.Pause() and videoPlayer.Play() where you would want it to start and stop. That is, where he has his if(GameIsPaused), use the pause and play commands instead of his Pause() and Resume() methods. The button can be anything you like after KeyCode.