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:
parent
4d4253430c
commit
6ea1574cc1
@ -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>()
|
||||
|
Loading…
Reference in New Issue
Block a user