EntityManager.removeComponents

Remove components from entity by IDs. Components will be removed on end of frame.

  1. void removeComponents(EntityID entity_id, ushort[] del_ids)
    struct EntityManager
    export export nothrow @nogc
    void
    removeComponents
  2. void removeComponents(EntityID entity_id)

Parameters

entity_id EntityID

ID of entity

del_ids ushort[]

array of components IDs

Meta