pub fn use_entity_concept<C>(hooks: &mut Hooks<'_>, id: EntityId) -> Option<C>
Available on crate feature guest only.
Expand description

Use a concept from an entity in the ECS, and update its state if required.

If the entity does not exist, or does not match the concept, this will return None.