internal void OnSerializingMethod(StreamingContext context) { SerializedEntity = SpaceEngineersApi.Serialize<MyObjectBuilder_CubeGrid>(CubeGrid); }