Esempio n. 1
0
 private void Start()
 {
     _controller  = GetComponent <QuestsController>();
     _videoPlayer = _videoPanel.GetComponent <VideoPlayer>();
     _videoPlayer.loopPointReached += EndVideo;
     _autoPlay.GetComponent <VideoPlayer>().loopPointReached += player => _controller.NextQuest();
 }