public YAMLNode ExportYAML(IAssetsExporter exporter) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("value", Value); node.Add("mode", (int)Mode); node.Add("spread", Spread); node.Add("speed", Speed.ExportYAML(exporter)); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("value", Value); node.Add("mode", (int)Mode); node.Add("spread", Spread); node.Add("speed", Speed.ExportYAML(container)); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(ValueName, Value); node.Add(ModeName, (int)Mode); node.Add(SpreadName, Spread); node.Add(SpeedName, Speed.ExportYAML(container)); return(node); }