//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(); }); }
//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(); }
private void ReenableButton() { hallFunctionality.MoveCameraBackButton.SetActive(true); readingDialogue = false; PopupTextManager.ResetEvents(); }