Exemplo n.º 1
0
 public void OnLoad()
 {
     Debug.Log("[" + ToString() + "] Loaded");
     screenSelector.ClearScreens();
     screenSelector.SelectScreen((int)StartGameScreenIndices.PLAYER);
     highlightController.ClearHighlights();
     highlightController.HighlightObject(0);
     fillNewGameUI.UpdateUI();
 }
Exemplo n.º 2
0
 public void TriggerHighlight()
 {
     if (exhibitAudioManager.CurrentExhibitStory[0].exhibitTag == "Sword")
     {
         if (exhibitAudioManager.AudioClipIndex == 3)
         {
             InsertValue(1, 1);
         }
         else if (exhibitAudioManager.AudioClipIndex == 8)
         {
             InsertValue(1, 2);
         }
         else
         {
             if (HighlightController.Highlights.Count > 1)
             {
                 HighlightController.ClearHighlights();
             }
         }
     }
     else if (exhibitAudioManager.CurrentExhibitStory[0].exhibitTag == "Tub")
     {
         if (exhibitAudioManager.AudioClipIndex == 2)
         {
             cameraIcon.gameObject.SetActive(true);
             InsertValue(1, 1);
             InsertValue(2, 2);
         }
         else if (exhibitAudioManager.AudioClipIndex == 6)
         {
             cameraIcon.gameObject.SetActive(true);
             HighlightController.ClearHighlights();
             InsertValue(1, 3);
         }
         else if (exhibitAudioManager.AudioClipIndex == 7)
         {
             cameraIcon.gameObject.SetActive(true);
             HighlightController.ClearHighlights();
             InsertValue(1, 4);
         }
         //else if (exhibitAudioManager.AudioClipIndex == 8)
         //{
         //    InsertValue(1, 4);
         //}
         else
         {
             if (HighlightController.Highlights.Count > 1)
             {
                 cameraIcon.gameObject.SetActive(true);
                 HighlightController.ClearHighlights();
             }
         }
     }
     else if (exhibitAudioManager.CurrentExhibitStory[0].exhibitTag == "Skull")
     {
         if (exhibitAudioManager.AudioClipIndex == 4)
         {
             InsertValue(1, 1);
         }
         else if (exhibitAudioManager.AudioClipIndex == 5)
         {
             InsertValue(1, 2);
         }
         else
         {
             if (HighlightController.Highlights.Count > 1)
             {
                 HighlightController.ClearHighlights();
             }
         }
     }
 }
Exemplo n.º 3
0
 public void OnLoad()
 {
     Debug.Log("[" + ToString() + "] Loaded");
     highlightController.ClearHighlights();
 }