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 GitHub
parent 4d4253430c
commit 6ea1574cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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