protected override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteDouble("LinearVelocity", LinearVelocity); writer.WriteDouble("AngularVelocity", AngularVelocity); }
protected override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteDouble("Velocity", Velocity); writer.WriteDouble("X", X); writer.WriteDouble("Y", Y); writer.WriteDouble("Width", Width); writer.WriteDouble("Height", Height); }
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("Translation", Translation); writer.WriteDouble("Rotation", Rotation); writer.WriteVector2("Scale", Scale); }
protected internal override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteInt("IntProperty", IntProperty); writer.WriteDouble("DoubleProperty", DoubleProperty); writer.WriteString("StringProperty", StringProperty); }
protected internal override void Serialize(IComponentDataWriter writer, IAssetStore assetStore) { base.Serialize(writer, assetStore); writer.WriteDouble("Radius", Radius); }