Skip to content

Emit event when scene is ready #9115

Description

@Shatur

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

Scenes spawned with delay and in order to check if scene is spawned we use SceneSpawner::instance_is_ready. But it's not very convenient because you can't actually react on spawning.

What solution would you like?

Introduce ReadyScene component that inserted after scene spawning.

What alternative(s) have you considered?

Events, but marker component is more flexible because we also be able to filter loaded scenes in queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ScenesComposing and serializing ECS objectsC-FeatureA new feature, making something new possible

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions