amethyst / amethyst/editor-core

Remove components at runtime

オープン
#32 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。