public List <string> GetActionsOfTree(string libraryName, string treeName) { BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName)); return(libarry != null?libarry.GetActions(treeName) : null); }
public List <string> GetTrees(string libraryName) { BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName)); return(libarry != null?libarry.GetTrees() : null); }
public Tree Instantiate(string libraryName, string treeName) { BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName)); return(libarry != null?libarry.Instantiate(treeName) : null); }