コード例 #1
0
ファイル: Reflecter.cs プロジェクト: shrubba/planetexplorers
        public List <string> GetActionsOfTree(string libraryName, string treeName)
        {
            BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName));

            return(libarry != null?libarry.GetActions(treeName) : null);
        }
コード例 #2
0
ファイル: Reflecter.cs プロジェクト: shrubba/planetexplorers
        public List <string> GetTrees(string libraryName)
        {
            BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName));

            return(libarry != null?libarry.GetTrees() : null);
        }
コード例 #3
0
ファイル: Reflecter.cs プロジェクト: shrubba/planetexplorers
        public Tree Instantiate(string libraryName, string treeName)
        {
            BehaveLibrary libarry = m_BehaveLibrarys.Find(ret => ret.Match(libraryName));

            return(libarry != null?libarry.Instantiate(treeName) : null);
        }