Exemplo n.º 1
0
        protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(container);

            node.Add(AnchorMinName, AnchorMin.ExportYAML(container));
            node.Add(AnchorMaxName, AnchorMax.ExportYAML(container));
            node.Add(AnchoredPositionName, AnchorPosition.ExportYAML(container));
            node.Add(SizeDeltaName, SizeDelta.ExportYAML(container));
            node.Add(PivotName, Pivot.ExportYAML(container));
            return(node);
        }
Exemplo n.º 2
0
        protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(container);

            node.Add("m_AnchorMin", AnchorMin.ExportYAML(container));
            node.Add("m_AnchorMax", AnchorMax.ExportYAML(container));
            node.Add("m_AnchoredPosition", AnchorPosition.ExportYAML(container));
            node.Add("m_SizeDelta", SizeDelta.ExportYAML(container));
            node.Add("m_Pivot", Pivot.ExportYAML(container));
            return(node);
        }