public YAMLDocument ExportYAMLDocument(IAssetsExporter exporter) { YAMLDocument document = new YAMLDocument(); YAMLMappingNode node = ExportYAMLRoot(exporter); YAMLMappingNode root = document.CreateMappingRoot(); root.Tag = ClassID.ToInt().ToString(); root.Anchor = exporter.GetExportID(this); root.Add(ClassIDName, node); return(document); }
protected override string GetPathIDString(IAssetsExporter exporter) { return(exporter.GetExportID(m_prefab)); }
protected override void ExportYAMLInner(IAssetsExporter exporter, YAMLMappingNode node) { node.Add("mainObjectFileID", exporter.GetExportID(m_mainObject)); }