public override void Activate(ShowSetup callback)
 {
     base.Activate(callback);
     if (ShowMode.Instance.Mode.ModeName != ModeName.AUDIENCE)
     {
         beginButton.SetActive(true);
     }
 }
Exemplo n.º 2
0
 public override void Activate(ShowSetup callback)
 {
     base.Activate(callback);
     if (ShowMode.Instance.Mode.ModeName == ModeName.GUIDE)
     {
         for (int k = 0; k < secretButtons.Length; k++)
         {
             secretButtons[k].SetActive(true);
         }
     }
     player.LoadTrackIfNeeded(entryTrack.GetTrack());
 }
Exemplo n.º 3
0
    public virtual void Activate(ShowSetup callback)
    {
//		if (ShowMode.Instance.Mode.ModeName == ModeName.GUIDE) {
//			if (updateGuideInstructions) {
//				description = Variables.Instance.language == Language.ENGLISH ? descriptionEnglishGuide : descriptionMandarinGuide;
//			}
//		} else {
//			if (updateAudienceInstructions) {
//				description = Variables.Instance.language == Language.ENGLISH ? descriptionEnglish : descriptionMandarin;
//			}
//		}
        gameObject.SetActive(true);
        ResetConditions();
        if (display != null)
        {
            display.SetIncomplete();
        }
        this.callback = callback;
    }
Exemplo n.º 4
0
 public override void Activate(ShowSetup callback)
 {
     base.Activate(callback);
     // loaded in the quiet step now
 }
Exemplo n.º 5
0
//	private void SetObjectsActive(GameObject[] objects, bool active){
//		for(int k = 0; k<objects.Length; k++){
//			objects [k].SetActive (active);
//		}
//	}

    public override void Activate(ShowSetup callback)
    {
        base.Activate(callback);
//		changeTimeLightbox.Open ();
//		BeginAutomaticCalibration ();
    }
Exemplo n.º 6
0
 public override void Activate(ShowSetup callback)
 {
     base.Activate(callback);
     BLE.Instance.DisableJockeyProtection();
 }