Ejemplo n.º 1
0
        public void SetImage(ScreenshotGallery gallery, int i)
        {
            m_Gallery        = gallery;
            m_CurrentImageId = i;

            UpdateUI();
        }
Ejemplo n.º 2
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();
     }
 }