protected override YAMLMappingNode ExportYAMLRoot(IAssetsExporter exporter) { #warning TODO: values acording to read version (current 2017.3.0f3) YAMLMappingNode node = base.ExportYAMLRoot(exporter); node.Add("m_SplatDatabase", SplatDatabase.ExportYAML(exporter)); node.Add("m_DetailDatabase", DetailDatabase.ExportYAML(exporter)); node.Add("m_Heightmap", Heightmap.ExportYAML(exporter)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add("m_SplatDatabase", SplatDatabase.ExportYAML(container)); node.Add("m_DetailDatabase", DetailDatabase.ExportYAML(container)); node.Add("m_Heightmap", Heightmap.ExportYAML(container)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add(SplatDatabaseName, SplatDatabase.ExportYAML(container)); node.Add(DetailDatabaseName, DetailDatabase.ExportYAML(container)); node.Add(HeightmapName, Heightmap.ExportYAML(container)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add(SplatDatabaseName, SplatDatabase.ExportYAML(container)); node.Add(DetailDatabaseName, DetailDatabase.ExportYAML(container)); node.Add(HeightmapName, Heightmap.ExportYAML(container)); if (HasLightmap(container.ExportVersion)) { node.Add(LightmapName, Lightmap.ExportYAML(container)); } if (HasPreloadShaders(container.ExportVersion)) { node.Add(PreloadShadersName, PreloadShaders.ExportYAML(container)); } return(node); }