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