
# 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>
11 lines
392 B
Markdown
11 lines
392 B
Markdown
---
|
|
title: Extract `PointerInputPlugin` members into `PointerInputSettings`
|
|
pull_requests: [19078]
|
|
---
|
|
|
|
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.
|