public static void LoadToObject(Component game, ref SpringJointData data)
        {
            var obj = game.GetComponent <SpringJoint2D>();

            if (obj == null)
            {
                return;
            }
            obj.enableCollision = data.enableCollision;
            obj.breakForce      = data.breakForce;
            obj.breakTorque     = data.breakTorque;
            obj.anchor          = data.anchor;
            obj.connectedAnchor = data.connectedAnchor;
            obj.autoConfigureConnectedAnchor = data.autoConfigure;
            obj.autoConfigureDistance        = data.autoConfigureDistance;
            obj.distance     = data.distance;
            obj.dampingRatio = data.dampingRatio;
            obj.frequency    = data.frequency;
        }
 public unsafe override void Load(FakeStruct fake)
 {
     data = *(SpringJointData *)fake.ip;
 }