예제 #1
0
        public NodeLeaf GetNode(string identificationName)
        {
            ICustomIdentification <NodeLeaf> info = GetIdentification(identificationName);
            NodeLeaf obj = info.Create();

            return(obj);
        }
예제 #2
0
        public AbstractNode GetNode(string identificationName)
        {
            ICustomIdentification <AbstractNode> info = GetIdentification(identificationName);

            if (null == info)
            {
                UnityEngine.Debug.LogError(identificationName);
            }
            AbstractNode obj = info.Create();

            return(obj);
        }