Skip to content

Add labels for scene_spawner_system and scene_spawner #22325

@Shatur

Description

@Shatur

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

When users want to order something before scene spawning, they need to use the system name directly:

        .add_systems(
            SpawnScene,
            wait_for_request
                .before(scene::scene_spawner_system)
                .run_if(in_state(PreviewState::Inactive)),
        )

What solution would you like?

It would be nice to have an enum label for scene_spawner_system and scene_spawner (yes, there are two systems with similar names), similar to TransformSystems and others.
I'd also suggest to give them proper names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ScenesSerialized ECS data stored on the diskC-FeatureA new feature, making something new possibleD-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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions