bevy/crates/bevy_picking/src
Antony 02bb151889
Rename PickingBehavior to Pickable (#17266)
# Objective

PR #17225 allowed for sprite picking to be opt-in. After some
discussion, it was agreed that `PickingBehavior` should be used to
opt-in to sprite picking behavior for entities. This leads to
`PickingBehavior` having two purposes: mark an entity for use in a
backend, and describe how it should be picked. Discussion led to the
name `Pickable`making more sense (also: this is what the component was
named before upstreaming).

A follow-up pass will be made after this PR to unify backends.

## Solution

Replace all instances of `PickingBehavior` and `picking_behavior` with
`Pickable` and `pickable`, respectively.

## Testing

CI

## Migration Guide

Change all instances of `PickingBehavior` to `Pickable`.
2025-01-12 05:36:52 +00:00
..
mesh_picking Rename PickingBehavior to Pickable (#17266) 2025-01-12 05:36:52 +00:00
backend.rs Rename PickingBehavior to Pickable (#17266) 2025-01-12 05:36:52 +00:00
events.rs Allow clippy::too_many_arguments to lint without warnings (#17249) 2025-01-09 07:26:15 +00:00
hover.rs Rename PickingBehavior to Pickable (#17266) 2025-01-12 05:36:52 +00:00
input.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
lib.rs Rename PickingBehavior to Pickable (#17266) 2025-01-12 05:36:52 +00:00
pointer.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
window.rs Window picking (#16103) 2024-12-05 21:14:39 +00:00