void AnimateText() { // Show text _text.text = _dialogue.Substring(0, _textPosition); if (_textPosition < _dialogue.Length) { Debug.Log(string.Format("({0}) Animating text", this.name)); _textPosition++; } else { Debug.Log(string.Format("{0} is displaying end of dialogue prompt", this.name)); // Display End of Dialogue Prompt _dialogueSystem.DisplayEndOfDialoguePrompt(); CancelInvoke(); } }