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