# Objective `PickingPlugin` and `PointerInputPlugin` were kinda weird being both a plugin and a resource. ## Solution Extract the resource functionality of `PickingPlugin` and `PointerInputPlugin` into new resources ## Testing `mesh_picking` and `sprite_picking` --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
392 B
392 B
| title | pull_requests | |
|---|---|---|
| Extract `PointerInputPlugin` members into `PointerInputSettings` |
|
Toggling mouse and touch input update for picking should be done through
the PointerInputSettings resource instead of PointerInputPlugin.
To initialize PointerInputSettings with non-default values, simply add
the resource to the app using insert_resource with the desired value.