/// <summary> /// /// </summary> /// <returns></returns> private bool EvaluateBranchNode() { BranchManager branchManager = m_sceneManager.GetBranchManager(); if (branchManager != null) { if (m_currentNode is BranchNode) { branchManager.DisplayChoices((m_currentNode as BranchNode).GetBranches(), true); return(true); } } else { if (m_currentNode is BranchNode) { Debug.LogError("DEVN: SceneManager needs a BranchComponent is you are using branch nodes!"); } } return(false); }