public void GetNextStory(string nextStoryName) { Debug.Log("NEXT STORY FIRED"); curStory = Silky.Instance.mother.GetStoryByName(nextStoryName); GetRootNode(); GetConnectID(); if (connectID == null || connectID == "") { //terminal.buddyList.SetActive(false); terminal.ChangeState(new ConnectState()); GameObject.FindObjectOfType <TextPrinter> ().TriggerPrinting(); } //else if }
void GetRootStory(string rootStoryName) { rootStory = Silky.Instance.mother.GetStoryByName(rootStoryName); curStory = rootStory; }