Skip to content

View all resources with World.resources() #1891

@alice-i-cecile

Description

@alice-i-cecile

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

It would be useful to be able to see which Resources exist in the world, for debugging, discovery and editor purposes.

What solution would you like?

Expose a .resources() method on World.

What alternative(s) have you considered?

This may exist and I missed it. In that case, organization or documentation needs work instead.

Additional context

This appears to have been lost in #1525; this functionality exists in 0.4, but not in 0.5. Edit: I was mistaken about behavior in 0.4; this is new functionality.

Resources are now a part of World, but it doesn't seem to be accessible from that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions