public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("target", Target.ExportYAML(container)); node.Add("propertyPath", PropertyPath); node.Add("value", Value); node.Add("objectReference", ObjectReference.ExportYAML(container)); return node; }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(TargetName, Target.ExportYAML(container)); node.Add(PropertyPathName, PropertyPath); node.Add(ValueName, Value); node.Add(ObjectReferenceName, ObjectReference.ExportYAML(container)); return(node); }
public YAMLNode ExportYAML() { YAMLMappingNode node = new YAMLMappingNode(); node.Add("target", Target.ExportYAML()); node.Add("propertyPath", PropertyPath); node.Add("value", Value); node.Add("objectReference", ObjectReference.ExportYAML()); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); PropertyModificationLayout layout = container.Layout.PrefabInstance.PropertyModification; node.Add(layout.TargetName, Target.ExportYAML(container)); node.Add(layout.PropertyPathName, PropertyPath); node.Add(layout.ValueName, Value); node.Add(layout.ObjectReferenceName, ObjectReference.ExportYAML(container)); return(node); }