void Awake() { instance = this; skillAPI = GetComponent <TecktalSkillsAPI>(); videoLists = new VideoList[] { allVideos, featured, popular }; EmptyVideoLists(); //gameObject.SetActive(false); }
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); } }
public void OnClick() { Debug.Log("on click " + name); VideoScreen.GetInstance().Set(skill); }