/// <summary> /// Shows a generic popup message /// </summary> public void ShowGenericMessage(string title, string message, GameManagerScript.GameEventDelegate popUpDoneEvent) { this._popupDoneEvent = popUpDoneEvent; if (this.popupGUI != null) { this.popupGUI.Show(title, message); } }
/// <summary> /// Shows up the diary in the game /// </summary> public void ShowDiary(GameManagerScript.GameEventDelegate diaryDone) { //save for later notification this.diaryDone = diaryDone; //pause the game //this.beforeDiaryPauseState = GameManagerScript.Instance.GamePaused; GameManagerScript.Instance.PauseGame(true); //display the diary this.diaryManager.ShowDiary(this.diaryDone); }
/// <summary> /// Shows up the diary in the game /// </summary> public void ShowDiary(GameManagerScript.GameEventDelegate diaryDone, int pageIndex) { //sets the page before showing the diary this.diaryManager.SetDiaryPage(pageIndex); this.ShowDiary(diaryDone); }
/// <summary> /// Shows a generic popup message /// </summary> public void ShowGenericMessage(string title, string message, GameManagerScript.GameEventDelegate popUpDoneEvent) { this._popupDoneEvent = popUpDoneEvent; if (this.popupGUI!=null) { this.popupGUI.Show(title,message); } }
/// <summary> /// Shows up the diary in the game /// </summary> public void ShowDiary( GameManagerScript.GameEventDelegate diaryDone ) { //save for later notification this.diaryDone = diaryDone; //pause the game //this.beforeDiaryPauseState = GameManagerScript.Instance.GamePaused; GameManagerScript.Instance.PauseGame(true); //display the diary this.diaryManager.ShowDiary( this.diaryDone ); }