Exemplo n.º 1
0
 private void switchGalleryMode()
 {
     if (galleryMode == GALLERY_MODE.CLOSE)
     {
         galleryMode = GALLERY_MODE.OVERVIEW;
         highlightAllGalleryModels();
     }
     else
     {
         galleryMode = GALLERY_MODE.CLOSE;
         dehighlightAllGalleryModels();
     }
     currentRank = 0;
     focus(0);
 }
Exemplo n.º 2
0
 // ===========================
 // ========== SETUP ==========
 // ===========================
 private void setupCameraForGallery()
 {
     galleryManager = _galleryManagerGO.First().gameObject.GetComponent <GalleryManager>();
     galleryMode    = GALLERY_MODE.CLOSE;
     focus(0);
 }