コード例 #1
0
 //Used to transition to Hall
 private PopupTextManager.OnClose TransitionToHall()
 {
     GameManager.Instance.introduceTrueGolem = true;
     GameManager.Instance.typeOfTrueGolem    = gemType;
     PopupTextManager.ResetEvents();
     Initiate.Fade("Hall", Color.black, 2.0f);
     return(() => { PopupTextManager.onClose -= TransitionToHall(); });
 }
コード例 #2
0
    //Finish the sequence and reset relevant variables
    private void FinishSequence()
    {
        GameManager.Instance.introduceTrueGolem = false;
        GameManager.Instance.canUseTools        = true;
        inspectingGolem = true;

        hallFunctionality.MoveCameraBackButton.SetActive(true);
        PopupTextManager.ResetEvents();
    }
コード例 #3
0
 private void ReenableButton()
 {
     hallFunctionality.MoveCameraBackButton.SetActive(true);
     readingDialogue = false;
     PopupTextManager.ResetEvents();
 }