protected internal override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteString("Text", Text); writer.WriteDouble("FontSize", FontSize.Points); writer.WriteColor("Color", Color); }
protected internal override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteVector2("Dimension", Dimension); writer.WriteColor("Color", Color); writer.WriteBool("FillInterior", FillInterior); }