Пример #1
0
 void Start()
 {
     if (m_Manager != null)
     {
         ScreenshotGallery gallery = GetComponent <ScreenshotGallery> ();
         gallery.m_ScreenshotFolderPath = m_Manager.m_Config.GetPath();
         gallery.m_DestinationFolder    = ScreenshotNameParser.DestinationFolder.CUSTOM_FOLDER;
         gallery.LoadImageFiles();
         gallery.UpdateGallery();
     }
 }
Пример #2
0
 public virtual void CloseCallback()
 {
     this.gameObject.SetActive(false);
     m_Gallery.gameObject.SetActive(true);
     m_Gallery.UpdateGallery();
 }