bevyengine / bevyengine/bevy

Expose `SystemMeta` for system exploration and configuration

Open
#16,168 1 comment 2 reactions 0 assignees View on GitHub
A-ECS C-Feature C-Usability D-Modest S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

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

Currently, there is no unified way to access `SystemMeta`.
We should define a set of methods in `System`, which would work for all: function, exclusive and compound systems.
This is especially needed for system param warning, which currently can be configured only for function systems.

## What solution would you like?

Introduce `System::system_metas(&self)` and `System::system_metas_mut(&mut self)` which would return iterator/vector/slice that we can work with.
@alice-i-cecile suggested a vector as a good starting point.

## What alternative(s) have you considered?

Reflection or separate structure for storing system configuration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.