Skip to content

Add a system closure example #4262

@alice-i-cecile

Description

@alice-i-cecile

How can Bevy's documentation be improved?

Systems can be created through closures. This will be a surprising fact to many, and should be demonstrated in an example.

Steps:

  1. Create a "closure_system" example.
  2. Demonstrate the use of a simple closure system.
  3. Demonstrate configuring Local variables with closure systems, as shown in the corresponding docs.

Previously attempted in #2231: please try to build off that branch and credit the author.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-ExamplesAn addition or correction to our examplesD-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