
# 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>
353 B
353 B
title | pull_requests | |
---|---|---|
Extract `PickingPlugin` members into `PickingSettings` |
|
Controlling the behavior of picking should be done through
the PickingSettings
resource instead of PickingPlugin
.
To initialize PickingSettings
with non-default values, simply add
the resource to the app using insert_resource
with the desired value.