private void OnSerializingMethod(StreamingContext context) { SerializedEntity = SpaceEngineersApi.Serialize<MyObjectBuilder_Character>(Character); }