public override void End() { base.End(); if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } TutoManager.s_instance.GetComponent <SeqLowHunger>().AlreadyPlayed = true; TutoManager.s_instance.PlayingSequence = null; }
public override void End() { base.End(); selectedKeepersPanel.SetActive(true); if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } TutoManager.s_instance.GetComponent <SeqFirstMove>().AlreadyPlayed = true; TutoManager.s_instance.PlayingSequence = null; }
public override void End() { base.End(); if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } if (TutoManager.s_instance.waitForFeedSlotAppearance) { TutoManager.s_instance.GetComponent <SeqAshleyLowHunger>().position = -1; } TutoManager.s_instance.GetComponent <SeqAshleyLowHunger>().AlreadyPlayed = !TutoManager.s_instance.waitForFeedSlotAppearance; TutoManager.s_instance.PlayingSequence = null; }
public override void End() { base.End(); if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } for (int i = 0; i < GameManager.Instance.AllKeepersList.Count; i++) { if (GameManager.Instance.AllKeepersList[i].GetComponent <Behaviour.MentalHealthHandler>() != null) { GameManager.Instance.AllKeepersList[i].GetComponent <Behaviour.MentalHealthHandler>().SelectedMentalHealthUI.SetActive(true); } } if (isLaunchedDuringASnowEvent) { foreach (PawnInstance pi in TileManager.Instance.KeepersOnTile[GameManager.Instance.ActiveTile]) { if (pi.GetComponent <Behaviour.MentalHealthHandler>() != null) { pi.GetComponent <Behaviour.MentalHealthHandler>().CurrentMentalHealth -= 5; } } } EventManager.HandleWeather(); TutoManager.s_instance.GetComponent <SeqMoraleExplained>().AlreadyPlayed = true; TutoManager.s_instance.PlayingSequence = null; }
public override void End() { base.End(); if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } TutoManager.s_instance.GetComponent <SeqAshleyEscort>().AlreadyPlayed = true; TutoManager.s_instance.PlayingSequence = null; if (GameManager.Instance.Ui.goConfirmationPanel.activeSelf) { foreach (Button b in GameManager.Instance.Ui.goConfirmationPanel.GetComponentsInChildren <Button>()) { b.interactable = true; } } }
public override void End() { base.End(); GameManager.Instance.AllKeepersList[0].GetComponent <Behaviour.Keeper>().BtnLeft.GetComponent <Button>().interactable = true; GameManager.Instance.AllKeepersList[0].GetComponent <Behaviour.Keeper>().BtnRight.GetComponent <Button>().interactable = true; for (int i = 0; i < GameManager.Instance.AllKeepersList.Count; i++) { GameManager.Instance.AllKeepersList[i].GetComponent <GlowObjectCmd>().ActivateBlinkBehaviour(false); } if (pawnMrResetti != null) { TutoManager.UnSpawn(pawnMrResetti); } if (TutoManager.s_instance.TutoPanelInstance != null) { Destroy(TutoManager.s_instance.TutoPanelInstance); } TutoManager.s_instance.GetComponent <SeqMultiCharacters>().AlreadyPlayed = true; TutoManager.s_instance.PlayingSequence = null; }