Skip to content

Add Read-only system::run_read_only #7558

Description

@alice-i-cecile
          Good call! As a potential followup (idk if we actually need this) we could add a `ReadOnlySystem::run_readonly()`  that allows you to safely run the system with an `&World`.

Originally posted by @cart in #7547 (review)

I think this would be valuable, and should be a very straightforward method to implement. Look at how System's method works for reference.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions