Add type registration for PickingInteraction (#17372)

I noticed that this component was not being returned correctly by the
`bevy_remote` api

```json
"errors": {
  "bevy_picking::focus::PickingInteraction": {
    "code": -23402,
    "message": "Unknown component type: `bevy_picking::focus::PickingInteraction`"
  }
}
```
This commit is contained in:
Andrew Hickman 2025-01-15 06:24:19 +00:00 committed by François Mockers
parent fcc6b4ddff
commit 9afa86ec9a

View File

@ -362,6 +362,7 @@ impl Plugin for PickingPlugin {
) )
.register_type::<Self>() .register_type::<Self>()
.register_type::<PickingBehavior>() .register_type::<PickingBehavior>()
.register_type::<focus::PickingInteraction>()
.register_type::<pointer::PointerId>() .register_type::<pointer::PointerId>()
.register_type::<pointer::PointerLocation>() .register_type::<pointer::PointerLocation>()
.register_type::<pointer::PointerPress>() .register_type::<pointer::PointerPress>()