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
fcc6b4ddff
commit
9afa86ec9a
@ -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>()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user