private IEnumerator ActivateBackground() { TextController.ActivateCanvas(false); yield return(new WaitForSecondsRealtime(1)); GameElements.GetComponent <SpriteRenderer>().enabled = true; }
private IEnumerator SwordRoomCutscene() { GameElements.GetComponent <SpriteRenderer>().sprite = SwordRoom; yield return(ActivateBackground()); Stars.enabled = true; Dani.SetActive(true); Girls.SetActive(true); yield return(new WaitForSecondsRealtime(2.8f)); }
private void ReactivateText() { birthedObjects.ForEach(Destroy); GameElements.GetComponent <SpriteRenderer>().enabled = false; TextController.ActivateCanvas(true); }