amethyst / amethyst/legion

how to remove/stop system?

Đang mở
#281 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
1.7k
Fork
140
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I want to implement Hud system that would add, update and remove all the UI elements. The thing is, I want this to work only on few game states. So I need to be able to start system in `on_start` and to stop them in `on_stop`.
I suppose, I can add system using [Builder.add_system](https://docs.rs/legion/0.4.0/legion/systems/struct.Builder.html#method.add_system) But how can I remove system?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.