amethyst / amethyst/editor-core

Remove components at runtime

未关闭
#32 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
Rust
星标
45
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

> ~~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 🙂

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。