MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnLayoutSerialize

Method OnLayoutSerialize

Source/Editor/Windows/GameWindow.cs:1041–1048  ·  view source on GitHub ↗

(XmlWriter writer)

Source from the content-addressed store, hash-verified

1039
1040 /// <inheritdoc />
1041 public override void OnLayoutSerialize(XmlWriter writer)
1042 {
1043 writer.WriteAttributeString("ShowGUI", ShowGUI.ToString());
1044 writer.WriteAttributeString("EditGUI", EditGUI.ToString());
1045 writer.WriteAttributeString("ShowDebugDraw", ShowDebugDraw.ToString());
1046 writer.WriteAttributeString("DefaultViewportScalingIndex", _defaultScaleActiveIndex.ToString());
1047 writer.WriteAttributeString("CustomViewportScalingIndex", _customScaleActiveIndex.ToString());
1048 }
1049
1050 /// <inheritdoc />
1051 public override void OnLayoutDeserialize(XmlElement node)

Callers 1

SavePanelMethod · 0.45

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected