public void OnClick() { Debug.Log("On History Button Click"); VideoPlayer360 vp = VideoPlayer360.GetInstance(); if (vp != null) { Debug.Log("Found Video Player 360"); vp.Play(module.URL_Video, module); currentIndex = index; } }
public void OnClick() { Debug.Log("On Video Button Click"); if (LearningHistory.GetInstance().Contains(title)) { VideoPlayer360 vp = VideoPlayer360.GetInstance(); if (vp != null) { Debug.Log("Found Video Player 360"); vp.Play(videoURL, module); } } else { VideoScreen.GetInstance().proceedPopup.Set(this); } }