Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
        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);
        }