amethyst / amethyst/editor-core

Remove components at runtime

Open
#32 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
45
Forks
8
PR merge metrics
No merged PRs in 30d

Description

> ~~This issue is currently blocked by #27.~~

Allow the editor to request that an existing component be removed from an entity at runtime.

To do this, add a variant to `IncomingMessage` called `RemoveComponent` that specifies the ID of the component type (i.e. the user-provided name of the component) and the entity from which the component should be removed. It probably makes the most sense to add the logic for actually removing the component to `WriteComponentSystem`, since it already requests write access to the appropriate component storage.

I'm happy to answer any questions or provide mentorship for anyone who wants to take on this task 🙂

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.