public NodeProvider() { m_nodeLibrary = ConstructNodeLibrary(new NodeLibrary()); m_nodeTypeMapping = new Dictionary <Type, NodeTemplate>(); foreach (var template in m_nodeLibrary.nodeTemplates) { m_nodeTypeMapping.Add(template.RuntimeNodeType, template); } }
protected abstract NodeLibrary ConstructNodeLibrary(NodeLibrary library);