public NodeLeaf GetNode(string identificationName) { ICustomIdentification <NodeLeaf> info = GetIdentification(identificationName); NodeLeaf obj = info.Create(); return(obj); }
public AbstractNode GetNode(string identificationName) { ICustomIdentification <AbstractNode> info = GetIdentification(identificationName); if (null == info) { UnityEngine.Debug.LogError(identificationName); } AbstractNode obj = info.Create(); return(obj); }