Skip to content

Add Commands::init_resource #3078

@alice-i-cecile

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

FromWorld resources cannot be added via commands without using a custom command.

What solution would you like?

Implement Commands::init_resource, which is a trivial wrapper over World::init_resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions