Beispiel #1
0
        protected override YAMLMappingNode ExportYAMLRoot(IAssetsExporter exporter)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(exporter);

            //node.AddSerializedVersion(GetSerializedVersion(exporter.Version));
            node.Add("m_OutputGroup", OutputGroup.ExportYAML(exporter));
            node.Add("m_MasterGroup", MasterGroup.ExportYAML(exporter));
            node.Add("m_Snapshots", Snapshots.ExportYAML(exporter));
            node.Add("m_StartSnapshot", StartSnapshot.ExportYAML(exporter));
            node.Add("m_SuspendThreshold", SuspendThreshold);
            node.Add("m_EnableSuspend", EnableSuspend);
            node.Add("m_UpdateMode", UpdateMode);
            node.Add("m_MixerConstant", MixerConstant.ExportYAML(exporter));
            return(node);
        }
Beispiel #2
0
        protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(container);

            //node.AddSerializedVersion(GetSerializedVersion(container.Version));
            node.Add(OutputGroupName, OutputGroup.ExportYAML(container));
            node.Add(MasterGroupName, MasterGroup.ExportYAML(container));
            node.Add(SnapshotsName, Snapshots.ExportYAML(container));
            node.Add(StartSnapshotName, StartSnapshot.ExportYAML(container));
            node.Add(SuspendThresholdName, SuspendThreshold);
            node.Add(EnableSuspendName, EnableSuspend);
            node.Add(UpdateModeName, UpdateMode);
            node.Add(MixerConstantName, MixerConstant.ExportYAML(container));
            return(node);
        }