Function ambient_api_core::entity::has_component
source · pub fn has_component<T: SupportedValue>(
entity: EntityId,
component: Component<T>
) -> boolExpand description
Checks if the entity has a component.
pub fn has_component<T: SupportedValue>(
entity: EntityId,
component: Component<T>
) -> boolChecks if the entity has a component.