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

            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.maxForce        = data.maxForce;
            obj.maxTorque       = data.maxTorque;
        }
 public unsafe override void Load(FakeStruct fake)
 {
     data = *(FrictionJointData *)fake.ip;
 }