Skip to content

Change visibility of module bevy_asset::asset_changed to public #24501

@stinkytoe

Description

@stinkytoe

This is a very minor request.

Right now, the AssetChanged query filter is available at the path: bevy_asset::prelude::AssetChanged.

This is fine, but plugin authors may prefer to import this directly via bevy_asset::asset_changed::AssetChanged, or at least by a path not involving the prelude namespace.

I'm not sure if there's anything else in the bevy_asset::asset_changed module that shouldn't be exposed outside the library, but they can be marked pub(crate) or pub(super) as appropriate if so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed upon

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions