Пример #1
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add(Color0Name, Color0.ExportYAML(container));
            node.Add(Color1Name, Color1.ExportYAML(container));
            node.Add(Color2Name, Color2.ExportYAML(container));
            node.Add(Color3Name, Color3.ExportYAML(container));
            node.Add(Color4Name, Color4.ExportYAML(container));
            return(node);
        }