insert method
Sets or replaces a component on this entity. Bevy's commands.insert.
Implementation
WorldEntity insert(Component component) {
world._writeComponent(this, component);
return this;
}
Sets or replaces a component on this entity. Bevy's commands.insert.
WorldEntity insert(Component component) {
world._writeComponent(this, component);
return this;
}