private void OnEnable() { myButton = GetComponent <Button>(); string availableNode = XMLManager.GetLatestNode(nameOfAI); NewMessage(availableNode); if (currentNode != availableNode && XMLManager.GetNewMessageAvailable(nameOfAI) == "true") { StartCoroutine("BlinkNewMessageText"); } else { newMessageText.text = ""; } }