Example #1
0
 private void ObjectMovedCorrectly()
 {
     if (currentStep == 3)
     {
         AdvanceAudio();
         AdvanceScreen();
         createPillar.Hide();
         dropPillar.Hide();
         dropLight.SetActive(false);
         ShowGunPillar();
         currentStep++;
     }
 }
Example #2
0
 public void GunGrabbed()
 {
     if (currentStep == 5)
     {
         AdvanceAudio();
         AdvanceScreen();
         gunPillar.Hide();
         gunLight.SetActive(false);
         dominantController.GetComponent <ControllerSwitcher>().HighlightGrip(false);
         dominantController.GetComponent <ObjectController>().DisableGrip();
         ShowTargets();
         currentStep++;
     }
 }