public override MyObjectBuilder_ComponentBase Serialize(bool copy = false) { var builder = MyComponentFactory.CreateObjectBuilder(this) as MyObjectBuilder_PhysicsComponentBase; builder.LinearVelocity = LinearVelocity; builder.AngularVelocity = AngularVelocity; return(builder); }
public virtual MyObjectBuilder_ComponentBase Serialize() { return(MyComponentFactory.CreateObjectBuilder(this)); }