예제 #1
0
 private void ObjectMovedCorrectly()
 {
     if (currentStep == 3)
     {
         AdvanceAudio();
         AdvanceScreen();
         createPillar.Hide();
         dropPillar.Hide();
         dropLight.SetActive(false);
         ShowGunPillar();
         currentStep++;
     }
 }
예제 #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++;
     }
 }