Exemple #1
0
 public void Enable()
 {
     backButton.Enable();
     contButton.Enable();
     background.enabled = true;
     text.enabled       = true;
 }
Exemple #2
0
 public void OpenVideoWindow()
 {
     fileBackground.enabled = true;
     exitMutton.Enable();
     foreach (Mutton thumbnail in videoThumbnails)
     {
         thumbnail.Enable();
     }
 }
Exemple #3
0
 public void PlayVideo(int index)
 {
     videoScreen.SetActive(true);
     videoPlayer.enabled = true;
     videoClose.Enable();
     CloseVideoWindow();
     videoPlayer.url = System.IO.Path.Combine(Application.streamingAssetsPath, QAvideos[index].name.ToString() + ".mp4");
     videoPlayer.Play();
     print("playing video");
 }
Exemple #4
0
 public void OpenWindow()
 {
     fileBackground.enabled = true;
     exitMutton.Enable();
     showOverlays();
 }
Exemple #5
0
 public void OpenFile()
 {
     transform.SetAsLastSibling();
     image.enabled = true;
     closeMutton.Enable();
 }
Exemple #6
0
 public void ShowIcon()
 {
     fileIcon.Enable();
     IconShowing = true;
 }
Exemple #7
0
 public void OpenFileWindow()
 {
     fileBackground.enabled = true;
     exitMutton.Enable();
     ShowPictures();
 }