/// <summary> /// /// </summary> private void EvaluateTransitionNodes() { if (m_currentNode is PageNode) { PageNode pageNode = m_currentNode as PageNode; m_sceneManager.NewPage((pageNode).GetPageNumber()); } else if (m_currentNode is EndNode) { EndNode endNode = m_currentNode as EndNode; if (endNode.GetNextScene() == null) { // -- place custom scene transition code here -- } else { m_sceneManager.NewScene(endNode.GetNextScene()); } } }